Title: WordPress breaks mysql
Last modified: August 30, 2016

---

# WordPress breaks mysql

 *  [carlgo11](https://wordpress.org/support/users/carlgo11/)
 * (@carlgo11)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/wordpress-breaks-mysql/)
 * Hi,
    after testing WordPress on my testing servers I just deployed WordPress 
   on my main server.
 * After entering the MySQL username and password MySQL completely breaks.
    When
   running `mysql` in the terminal I get `ERROR 2002 (HY000): Can't connect to local
   MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)`
 * I’ve tried uninstalling MySQL. Removing all files associated with MySQL and then
   reinstalling it again. Mysql then works but as soon as I install WordPress it
   breaks again.
 * I run mysql-server-5.6 on a Ubuntu 14.04.3 LTS server.
 * As this is my main server I really need things to get back up and running again
   as soon as possible.
 * Thanks in advance!

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/wordpress-breaks-mysql/#post-6403158)
 * Contact your hosting provider discuss this MySQL issue with them.
 *  Thread Starter [carlgo11](https://wordpress.org/support/users/carlgo11/)
 * (@carlgo11)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/wordpress-breaks-mysql/#post-6403164)
 * [@tara](https://wordpress.org/support/users/tara/) I’m the ‘hosting provider’
 *  Thread Starter [carlgo11](https://wordpress.org/support/users/carlgo11/)
 * (@carlgo11)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/wordpress-breaks-mysql/#post-6403321)
 * So is this not a technical support forum?
 * As said I really need to get this up and running and if mysql + ubuntu isn’t 
   something anyone can provide help with here I’d just like a confirmation of that
   so that I can continue and try to find help elsewhere.
 * I managed to find some more information about the error. It looks like the mysql
   daemon process dies as soon as a WordPress page is loaded so it’s absolutely 
   WordPress related.
 * That would also explain why it can’t connect to the socket.
 *  Thread Starter [carlgo11](https://wordpress.org/support/users/carlgo11/)
 * (@carlgo11)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/wordpress-breaks-mysql/#post-6403322)
 * Maybe a moderator could move this thread to `WP-Advanced` or `installation`?
 *  Thread Starter [carlgo11](https://wordpress.org/support/users/carlgo11/)
 * (@carlgo11)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wordpress-breaks-mysql/#post-6403418)
 * bump
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wordpress-breaks-mysql/#post-6403419)
 * > So is this not a technical support forum?
 * This is a support forum for WordPress issues. You have a MySQL issue.
 * > the mysql daemon process dies as soon as a WordPress page is loaded so it’s
   > absolutely WordPress related.
 * The process dies when you try to create the user in MySQL.
 * – Maybe you have a problem with the bind address in my.conf
 * – Or maybe if you just run the mysql_upgrade routine, that might be enough to
   solve your issue.
 * [https://bugs.mysql.com/bug.php?id=68385](https://bugs.mysql.com/bug.php?id=68385)
 * [http://manpages.ubuntu.com/manpages/lucid/man1/mysql_upgrade.1.html](http://manpages.ubuntu.com/manpages/lucid/man1/mysql_upgrade.1.html)
 * Search out references specific to the error, your version of Ubuntu, and MySQL.
   WordPress is not the problem in this case.

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

The topic ‘WordPress breaks mysql’ is closed to new replies.

## Tags

 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [ubuntu](https://wordpress.org/support/topic-tag/ubuntu/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/wordpress-breaks-mysql/#post-6403419)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
