• Resolved vnt87

    (@vnt87)


    Today after I logged into my website after a while, I noticed a lot of plugins as well as WP needs to be upgraded. My site was running W3 Total Cache and I tried to deactivate it before attempting any other upgrade, but as soon as I click on deactivate, my site whole site returns with a DB error, specifically:

    Warning: mysql_query() [function.mysql-query]: Access denied for user 'hakinkin'@'localhost' (using password: NO) in /home/hakinkin/public_html/wp-includes/wp-db.php on line 1042
    
    Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/hakinkin/public_html/wp-includes/wp-db.php on line 1042
    Error establishing a database connection

    You can see it here: http://www.hakinkin.info

    Anybody knows how I can fix this? I was running WP 3.4.2 with the standard Twenty Eleven theme, if that helps.

Viewing 4 replies - 1 through 4 (of 4 total)
  • wprock

    (@wprock)

    Thread Starter vnt87

    (@vnt87)

    I deleted everything like that post outlined, but the error’s still there 🙁

    Thread Starter vnt87

    (@vnt87)

    Okay I uploaded a fresh copy of WP, latest version and now the site appears to work but the characters are all messed up. Encoding is still UTF-8 as it was before but they are not being displayed correctly. Anybody knows what’s up with that? (The site was in Vietnamese, by the way)

    Thread Starter vnt87

    (@vnt87)

    Okay I managed to fix that by enabling the DB_CHARSET value in the wp-config.php file and set it to the default utf8
    I still don’t know what happened but I’m glad it’s fixed now

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WP encounters DB error after disabling plugins’ is closed to new replies.