medieja
Verified User
Hi there,
I'm having troubles with my MySQL installation on my Debian Jessie VPS after upgrading PHP with custombuild. I 'm unable to run MySQL and my database-driven websites (Wordpress) return a connection failed error. Restarting MySQL from the CLI results in the following error:
I tried to restart the MySQL server but unfortunately that doesn't work. Rebuilding MySQL with the information listed here:
https://help.directadmin.com/item.php?id=240
results in:
Does anybody know how to fix this? I've Googled a lot but unfortunately I haven't figured out yet how to fix this. Any help would be much appreciated!
I'm having troubles with my MySQL installation on my Debian Jessie VPS after upgrading PHP with custombuild. I 'm unable to run MySQL and my database-driven websites (Wordpress) return a connection failed error. Restarting MySQL from the CLI results in the following error:
Code:
Got error: 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when trying to connect
https://help.directadmin.com/item.php?id=240
results in:
Code:
Synchronizing state for mysqld.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d mysqld defaults
Executing /usr/sbin/update-rc.d mysqld enable
Ensuring local-infile is disabled for security reasons in MySQL configuration file...
Giving mysqld a few seconds to start up...
Looking for 'mysql' as: /usr/local/mysql/bin/mysql
Looking for 'mysqlcheck' as: /usr/local/mysql/bin/mysqlcheck
Running 'mysqlcheck with default connection arguments
/usr/local/mysql/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when trying to connect
FATAL ERROR: Error during call to mysql_check for fixing the db/tables names.
Restarting MySQL.
Does anybody know how to fix this? I've Googled a lot but unfortunately I haven't figured out yet how to fix this. Any help would be much appreciated!