Results 1 to 5 of 5
When I try start mySQL i get the error
Code:
mysqlshow: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Does anyone know what the problem is?
I am ...
- 07-28-2006 #1Just Joined!
- Join Date
- Mar 2005
- Location
- South Africa
- Posts
- 88
mySQL Error
When I try start mySQL i get the error
Does anyone know what the problem is?Code:mysqlshow: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
I am using SuSe 9.2
- 07-28-2006 #2
does /var/lib/mysql/mysql.sock exsist? and if so what are the permissions on it? I'd start there.
- 07-28-2006 #3
I suffered from a similar error a while ago: it wasn't quite the same, but my solution may be useful for you, especially if you've only just installed MySQL.
Basically, just run these commands:
Of course, if you've already run the mysql_install_db script, this probably wont be any help.Code:su mysql mysql_install_db
HTH
Toodle-oo
Giles"Our greatest fear is not that we are powerless. Our greatest fear is Microsoft"
Registered linux user #391027
- 08-10-2006 #4Just Joined!
- Join Date
- Jun 2006
- Location
- (.)
- Posts
- 69
It seems that mySql process is already running in your server, check the process list and kill the mysql and then restart it.
I think it should work !!!
- 08-11-2006 #5Just Joined!
- Join Date
- Mar 2005
- Location
- South Africa
- Posts
- 88
Thanks, that solved the problem


Reply With Quote