Can't connect to local MySQL server
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) at /usr/local/cpanel/Cpanel/MysqlUtils/Connect.pm line 136Any ideas?
-
@jca2, Where you are getting this error message, Can you please elaborate. 0 -
It shows up in the logs when trying to recompile apache. 0 -
Hello :) Are you able to restart MySQL successfully? Does /tmp/mysql.sock exist? If not, please run this command: ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
Thank you.0 -
[quote="cPanelMichael, post: 1732622">Hello :) Are you able to restart MySQL successfully? Does /tmp/mysql.sock exist? If not, please run this command: ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
Thank you.
MySQL does seem to start/restart correctly without displaying any errors.0 -
[quote="jca2, post: 1732641">MySQL does seem to start/restart correctly without displaying any errors.
Were you able to check to see if /tmp/mysql.sock exists? Thank you.0 -
[quote="cPanelMichael, post: 1732711">Were you able to check to see if /tmp/mysql.sock exists? Thank you.
It does exist but is 0b0 -
[quote="jca2, post: 1732771">It does exist but is 0b
That is normal because it's a symbolic link. Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.0 -
[quote="cPanelMichael, post: 1732781">That is normal because it's a symbolic link. Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
Ticket # 54765810 -
To update, our analysts determined this was related to InnoDB corruption and the user was directed to the following thread: InnoDB Corruption Repair Guide Thank you. 0
Please sign in to leave a comment.
Comments
9 comments