Koozali.org: home of the SME Server

MySql not running??

Brandon Friedman

MySql not running??
« 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

Alejandro

Re: MySql not running??
« Reply #1 on: March 15, 2001, 09:31:10 PM »
Try this:
from console: service mysqld restart
Alejandro

Alejandro

Re: MySql not running??
« Reply #2 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.