Results 1 to 6 of 6
Cannot connect to local MYSQL server through socket '/tmp/mysql.sock'
i have tried this in shell
shell >> mysql -h localhost -u root -p
password = ****************
Error 2002: "Cannot connect ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-08-2004 #1Just Joined!
- Join Date
- Jun 2004
- Posts
- 9
Mysql cannot connect as root
Cannot connect to local MYSQL server through socket '/tmp/mysql.sock'
i have tried this in shell
shell >> mysql -h localhost -u root -p
password = ****************
Error 2002: "Cannot connect to local MYSQL server through socket '/tmp/mysql.sock'"
- 06-08-2004 #2Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
is mysqld running?
check with "ps aux | grep mysqld"
Jason
- 06-08-2004 #3Just Joined!
- Join Date
- Jun 2004
- Posts
- 9
yes it is running
- 06-08-2004 #4Linux Guru
- Join Date
- Mar 2003
- Location
- Wisconsin
- Posts
- 1,907
I don't know a lot about SQL, so this may be a lame suggestion, but maybe your firewall blocking it?
JeremyRegistered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude
- 06-08-2004 #5Just Joined!
- Join Date
- Jun 2004
- Posts
- 9
I actually got it working....
Did a system restart
- 06-13-2004 #6Just Joined!
- Join Date
- Jun 2004
- Posts
- 9
I finnally got mysql in the services list. I go to start up mysql and this is the error that I recieve.
mysqld dead but subsys locked


Reply With Quote
