• My site has been going down frequently with the message “unable to connect to database.” I have been fixing it by doing a repair to database table as they seem to get corrupted. When I checked the error log, I got this lengthy message. I wanted to know if this was SQL Injection and any solution to fix it if someone has.
    Thanks.

    ----
    From Error Log
    [Fri Oct 03 11:59:24 2014] [error] [client 89.248.172.10] WordPress database error Duplicate entry 'rewrite_rules' for key 'option_name' for query INSERT INTO <code>wp_options</code> (<code>option_name</code>, <code>option_value</code>, <code>autoload</code>) VALUES ('rewrite_rules', 'a:123:{s:34:\\"sitemap(-+([a-zA-Z0-9_-]+))?\\\\.xml$\\";s:40:\\"index.php?xml_sitemap=params=$matches[2]\\";s:38:\\"sitemap(-+([a-zA-Z0-9_-]+))?\\\\.xml\\\\.gz$\\";s:49:\\"index.php?xml_sitemap=params=$matches[2];zip=true\\";s:35:\\"sitemap(-+([a-zA-Z0-9_-]+))?\\\\.html$\\";s:50:\\"index.php?xml_sitemap=params=$matches[2];html=true\\";s:38:\\"sitemap(-+([a-zA-Z0-9_-]+))?\\\\.html.gz$\\";s:59:\\"index.php?xml_sitemap=params=$matches[2];html=true;zip=true\\";s:59:\\"portfolio_category/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\\";s:57:\\"index.php?portfolio_category=$matches[1]&feed=$matches[2]\\";s:54:\\"portfolio_category/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\\";s:57:\\"index.php?portfolio_category=$matches[1]&feed=$matches[2]\\";s:47:\\"portfolio_category/([^/]+)/page/?([0-9]{1,})/?$\\";s:58:\\"index.php?portfolio_category=$matches[1]&paged=$matches[2]\\";s:29:\\"portfolio_category/([^/]+)/?$\\";s:40:\\"index.php?portfolio_category=$matches[1]\\";s:49:\\"products/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\\";s:55:\\"index.php?product_category=$matches[1]&feed=$matches[2]\\";s:44:\\"products/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\\";s:55:\\"index.php?product_category=$matches[1]&feed=$matches[2]\\";s:37:\\"products/([^/]+)/page/?([0-9]{1,})/?$\\";s:56:\\"index.php?product_category=$matches[1]&paged=$matches[2]\\";s:19:\\"products/([^/]+)/?$\\";s:38:\\"index.php?product_category=$matches[1]\\";s:47:\\"category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$\\";s:52:\\"index.php?category_name=$matches[1]&feed=$matches[2]\\";s:42:\\"category/(.+?)/(feed|rdf|rss|rss2|atom)/?$\\";s:52:\\"index.php?category_name=$matches[1]&feed=$matches[2]\\";s:35:\\"category/(.+?)/page/?([0-9]{1,})/?$\\";s:53:\\"index.php?category_name=$matches[1]&paged=$matches[2]\\";s:17:\\"category/(.+?)/?$\\";s:35:\\"index.php?category_name=$matches[1]\\";s:44:\\"tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\\";s:42:\\"index.php?tag=$matches[1]&feed=$matches[2]\\";s:39:\\"tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\\";s:42:\\"index.php?tag=$matches[1]&feed=$matches[2]\\";s:32:\\"tag/([^/]+)/page/?([0-9]{1,})/?$\\";s:43:\\"index.php?tag=$matches[1]&paged=$matches[2]\\";s:14:\\"tag/([^/]+)/?$\\";s:25:\\"index.php?tag=$matches[1]\\";s:45:\\"type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\\";s:50:\\"index.php?post_format=$matches[1]&feed=$matches[2]\\";s:40:\\"type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\\";s:50:\\"index.php?post_format=$matches[1]&feed=$matches[2]\\";s:33:\\"type/([^/]+)/page/?([0-9]{1,})/?$\\";s:51:\\"index.php?post_format=$matches[1]&paged=$matches[2]\\";s:15:\\"type/([^/]+)/?$\\";s:33:\\"index.php?post_format=$matches[1]\\";s:42:\\"portfolio_item/[^/]+/attachment/([^/]+)/?$\\";s:32:\\"index.php?attachment=$matches[1]\\";s:52:\\"portfolio_item/[^/]+/attachment/([^/]+)/trackback/?$\\";s:37:\\"index.php?attachment=$matches[1]&tb=1\\";s:72:\\"portfolio_item/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\\";s:49:\\"index.php?attachment=$matches[1]&feed=$matches[2]\\";s:67:\\"portfolio_item/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\\";s:49:\\"index.php?attachment=$matches[1]&feed=$matches[2]\\";s:67:\\"portfolio_item/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$\\";s:50:\\"index.php?attachment=$matches[1]&cpage=$matches[2]\\";s:35:\\"portfolio_item/([^/]+)/trackback/?$\\";s:36:\\"index.php?portfolio=$matches[1]&tb=1\\";s:43:\\"portfolio_item/([^/]+)/page/?([0-9]{1,})/?$\\";s:49:\\"index.php?portfolio=$matches[1]&paged=$matches[2]\\";s:50:\\"portfolio_item/([^/]+)/comment-page-([0-9]{1,})/?$\\";s:49:\\"index.php?portfolio=$matches[1]&cpage=$matches[2]\\";s:35:\\"portfolio_item/([^/]+)(/[0-9]+)?/?$\\";s:48:\\"index.php?portfolio=$matches[1]&page=$matches[2]\\";s:31:\\"portfolio_item/[^/]+/([^/]+)/?$\\";s:32:\\"index.php?attachment=$matches[1]\\";s:41:\\"portfolio_item/[^/]+/([^/]+)/trackback/?$\\";s:37:\\"index.php?attachment=$matches[1]&tb=1\\";s:61:\\"portfolio_item/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\\";s:49:\\"index.php?attachment=$matches[1]&feed=$matches[2]\\";s:56:\\"portfolio_item/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\\";s:49:\\"index.php?attachment=$matches[1]&feed=$matches[2]\\";s:56:\\"portfolio_item/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$\\";s:50:\\"index.php?attachment=$matches[1]&cpage=$matches[2]\\";s:37:\\"slideshow/[^/]+/attachment/([^/]+)/?$\\";s:32:\\"index.php?attachment=$matches[1]\\";s:47:\\"slideshow/[^/]+/attachment/([^/]+)/trackback/?$\\";s:37:\\"index.php?attachment=$matches[1]&tb=1\\";s:67:\\"slideshow/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\\";s:49:\\"index.php?attachment=$matches[1]&feed=$matches[2]\\";s:62:\\"slideshow/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\\";s:49:\\"index.php?attachment=$matches[1]&feed=$matches[2]\\";s:62:\\"slideshow/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$\\";s:50:\\"index.php?attachment=$matches[1]&cpage=$matches[2]\\";s:30:\\"slideshow/([^/]+)/trackback/?$\\";s:36:\\"index.php?slideshow=$matches[1]&tb=1\\";s:38:\\"slideshow/([^/]+)/page/?([0-9]{1,})/?$\\";s:49:\\"index.php?slideshow=$matches[1]&paged=$matches[2]\\";s:45:\\"slideshow/([^/]+)/comment-page-([0-9]{1,})/?$\\";s:49:\\"index.php?slideshow=$matches[1]&cpage=$matches[2]\\";s:30:\\"slideshow/([^/]+)(/[0-9]+)?/?$\\";s:48:\\"index.php?slideshow=$matches[1]&page=$matches[2]\\";s:26:\\"slideshow/[^/]+/([^/]+)/?$\\";s:32:\\"index.php?attachment=$matches[1]\\";s:36:\\"slideshow/[^/]+/([^/]+)/trackback/?$\\";s:37:\\"index.php?attachment=$matches[1]&tb=1\\";s:56:\\"slideshow/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\\";s:49:\\"index.php?attachment=$matches[1]&feed=$matches[2]\\";s:51:\\"slideshow/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\\";s:49:\\"index.php?attachment=$matches[1]&feed=$matches[2]\\";s:51:\\"slideshow/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$\\";s:50:\\"index.php?attachment=$matches[1]&cpage=$matches[2]\\";s:35:\\"product/[^/]+/attachment/([^/]+)/?$\\";s:32:\\"index.php?attachment=$matches[1]\\";s:45:\\"product/[^/]+/attachment/([^/]+)/trackback/?$\\";s:37:\\"index.php?attachment=$matches[1]&tb=1\\";s:65:\\"product/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\\";s:49:\\"index.php?attachment=$matches[1]&feed=$matches[2]\\";s:60:\\"product/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\\";s:49:\\"index.php?attachment=$matches[1]&feed=$matches[2]\\";s:60:\\"product/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$\\";s:50:\\"index.php?attachment=$matches[1]&cpage=$matches[2]\\";s:28:\\"product/([^/]+)/trackback/?$\\";s:34:\\"index.php?product=$matches[1]&tb=1\\";s:36:\\"product/([^/]+)/page/?([0-9]{1,})/?$\\";s:47:\\"index.php?product=$matches[1]&paged=$matches[2]\\";s:43:\\"product/([^/]+)/comment-page-([0-9]{1,})/?$\\";s:47:\\"index.php?product=$matches[1]&cpage=$matches[2]\\";s:28:\\"product/([^/]+)(/[0-9]+)?/?$\\";s:46:\\"index.php?product=$matches[1]&page=$matches[2]\\";s:24:\\"product/[^/]+/([^/]+)/?$\\";s:32:\\"index.php?attachment=$matches[1]\\";s:34:\\"product/[^/]+/([^/]+)/trackback/?$\\";s:37:\\"index.php?attachment=$matches[1]&tb=1\\";s:54:\\"product/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\\";s:49:\\"index.php?attachment=$matches[1]&feed=$matches[2]\\";s:49:\\"product/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\\";s:49:\\"index.php?attachment=$matches[1]&feed=$matches[2]\\";s:49:\\"product/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$\\";s:50:\\"index.php?attachment=$matches[1]&cpage=$matches[2]\\";s:12:\\"robots\\\\.txt$\\";s:18:\\"index.php?robots=1\\";s:48:\\".*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\\\\.php$\\";s:18:\\"index.php?feed=old\\";s:20:\\".*wp-app\\\\.php(/.*)?$\\";s:19:\\"index.php?error=403\\";s:18:\\".*wp-register.php$\\";s:23:\\"index.php?register=true\\";s:32:\\"feed/(feed|rdf|rss|rss2|atom)/?$\\";s:27:\\"index.php?&feed=$matches[1]\\";s:27:\\"(feed|rdf|rss|rss2|atom)/?$\\";s:27:\\"index.php?&feed=$matches[1]\\";s:20:\\"page/?([0-9]{1,})/?$\\";s:28:\\"index.php?&paged=$matches[1]\\";s:27
    ----

    Thanks

The topic ‘Is this error SQL Injection?’ is closed to new replies.