MySQL fell over.

I just setup and configured a new FreeBSD 5.1 box w/ cPanel & WHM. I used the "Copy multiple accounts from another server" option in WHM, to move my sites from the previous RedHat 9 server. DNS has propagated, and my users are seeing MySQL errors, left right and sideways.

-----------------------------------------------------------------------------
bash-2.05b# mysql
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
------------------------------------------------------------------------------

So far, I've performed the following steps to see if it would fix the problem.

root# /etc/rc.d/initd/mysql stop
root# ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
root# /etc/rc.d/initd/mysql start

I'm able to mysql in now without getting the ERROR 2002, but when I check out the users webpages, I'm still seeing things like:

Warning: mysql_connect(): Access denied for user: 'kendra_digital@localhost' (Using password: YES) in /usr/home/kendra/public_html/connect.php on line 6
I cannot connect to the database.

Does anyone have suggestions?

 

 

 

 

Top