Web Hosting Talk







View Full Version : MySQL Errors


certify
08-04-2001, 11:15 AM
How do i fix this error?


[root@cheng bin]# ./mysql -uadmin -p
Enter password:
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[root@cheng bin]#

certify
08-04-2001, 12:41 PM
Anybody?

ffeingol
08-04-2001, 01:14 PM
Well when I've seen that happen on my server, mysql is not running :D

ps -ef | egrep mysql

See if you get any output

Frank

Craig
08-04-2001, 01:15 PM
Is mysql actually running?

Have you checked the permissions?

Regards

Craig

certify
08-04-2001, 01:24 PM
Yup you guys are right. :blush:

I restart the MySQL server and everything works now. ;)