PDA

View Full Version : MySQL problems! Help!!!


jpvechor
2003-08-28, 11:30 AM
Hello!

I am having the following problem:
All my customers are out with your database of the air.
I try to restart the mysql and he/she gives the following mistake:

mysql have failed, please contact the sysadmin (result was " /usr/bin/mysqlshow: Can't connect local to MySQL server through socket ' /var/lib/mysql/mysql.sock ' (2)").

How that to solve?
Please, help me to solve that.
Thank you,

QT
2003-08-28, 12:14 PM
CPanel chroot's all users into their own virtual filesystem for security. Since it would be impossible to symlink or create a mysql.sock in every virtual filesystem, your users should connect to mysql using TCP/IP. They would use 127.0.0.1 as the host and 3306 as the port.