Starting Mysql

Don Russell fedora at drussell.dnsalias.com
Thu May 3 16:57:03 UTC 2007


jim tate wrote:
> # mysql
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
> '/var/lib/mysql/mysql.sock' (2)
>
> Can some tell what's happening.
>
> Jim

Did it used to work?
Yes - probably your mysqld is not running:

service mysqld restart

You will see the stop fail (because it's not running), then the "start" 
will be OK

If that's not the problem, it's your socket name... I had to change mine 
in one of the config files.

Let us know, and I'll dig it up




More information about the fedora-list mailing list