Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Brandon Friedman on March 15, 2001, 07:37:02 PM

Title: MySql not running??
Post by: Brandon Friedman on March 15, 2001, 07:37:02 PM
Hi
Here is the message I get when trying to use mysql:

[root@smb-server /root]# mysqladmin status
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
[root@smb-server /root]#

I think that it was disable?
How do I restart the mysqld?
/sbin/e-smith/.....something? I think?

Regards
BF
Title: Re: MySql not running??
Post by: Alejandro on March 15, 2001, 09:31:10 PM
Try this:
from console: service mysqld restart
Alejandro
Title: Re: MySql not running??
Post by: Alejandro on March 15, 2001, 09:34:43 PM
Brandon:
I don't know too much but it seems (to me) tha could be an access denied to that sock file
error code 111 is "connection refused"
in console: "service mysqld status" will show you your current mysql info.

Hope be helpfull
Alejandro.