Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Me to having socket problems!!!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Me to having socket problems!!!
Authored by: Anonymous on Apr 05, '01 02:46:29AM

Please help me...what is this??
The server can´t locate the mysql.sock. It´s the same what ever I do.
Phpmyadmin says the same. I really need this fixed =)...anyone...?

/usr/local/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!

------------------
This is what it says when I type ps -aux | grep mysq
------------------
root 18614 0.7 0.2 1340 232 std U+ 0:00.02 grep mysq
root 426 0.0 0.0 1720 4 std- S 0:00.10 sh ./bin/safe_mysqld
root 437 0.0 0.0 11680 4 std- S 0:00.29 /users/knasen/desktop/mysql-3.2

I actually can´t say what the problem is...tried type "mysql" but the problem stays. Tried Phpmyadmin...and the same appears...When I open etc/ I can´t see any file named: mysql.sock.

------------------
This is what it says when I type safe_mysqld &
------------------
[localhost:/usr/local/bin] root# safe_mysqld
Starting mysqld daemon with databases from /usr/local/var
010404 21:13:05 mysqld endedn

[2] + Exit 1 safe_mysqladmin
------------------
/knasen



[ Reply to This | # ]
Me to having socket problems!!!
Authored by: macupdate on May 05, '01 11:48:40AM

Mine initially worked fine until I restarted and logged in under a different user
other than root. Now I have the same problem.



[ Reply to This | # ]