• 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

    (@t-p)

    Contact your hosting provider discuss this MySQL issue with them.

    Thread Starter carlgo11

    (@carlgo11)

    @tara I’m the ‘hosting provider’

    Thread Starter carlgo11

    (@carlgo11)

    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

    (@carlgo11)

    Maybe a moderator could move this thread to WP-Advanced or installation?

    Thread Starter carlgo11

    (@carlgo11)

    bump

    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://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.