Click to See Complete Forum and Search --> : mysql startup troubles


ufosoda
02-07-2001, 01:34 PM
when I type mysql at the command prompt I receive an error message:

ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

what happened? and what can I do??? :confused:

osnap
02-07-2001, 04:13 PM
You have to start the mysql daemon first so that "mysql" can connect to it. So start the daemon by starting "safe_mysqld" and then use "mysql" to use it.