My Server Admin has moved the MysQL databases from the default place in /var/
to
/usr/lib/mysql
However, an error has occured like this:
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/username/public_html/new/includes/functions/database.php on line 19
Unable to connect to database server!
I've done locate mysql.sock in SSH as r00t, and it tells me it is in var/lib/mysql
But if I CD into var/lib/mysql and do ls -l it doesn't show ??
Can anyone advise on what to do to get MySQL up and running properly please. The MySQL daemon is up and running according to the servsup script.
Many thanks.
cPanel.net Support Ticket Number:



LinkBack URL
About LinkBacks
Reply With Quote








