Web Hosting Talk







View Full Version : MySQL Socket


FireFoz
09-09-2001, 01:21 PM
I've installed MySQL and PHP by using this document:
http://list.cobalt.com/pipermail/cobalt-users/2001-February/033275.html

I used diferent versions of both tho (newer versions), but i dont think that would make any difference.

Now php works fine. I installed php after mysql, ofcourse.
I configured phpmyadmin, and uploaded it. Now if i want to run it, i get this error:


Error
MySQL said:


Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)


When i login with telnet, i cant find mysql.sock in /tmp/, only in /usr/mysql/.

I changed "$cfgServers[1]['socket']" in phpmyadmin into /usr/mysql/ but i doesnt make a difference.

When i type: "mysql -password" in telnet, i get:
ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)

Any ideas of what im doing wrong? Is MySQL runing tho? Im a newbie, sorry...

Chicken
09-09-2001, 02:09 PM
http://lists.mysql.com/cgi-ez/ezmlm-cgi?1:mss:12948

From: http://lists.mysql.com/php/search.php?ps=10&q=socket&ps=20&m=and

FireFoz
09-09-2001, 02:42 PM
I probably found the problem. I have mysql.soc instead of mysql.sock in /tmp/

phpmyadmin searches for .sock :/

I guess i need to reinstall mysql

netastic
09-10-2001, 10:07 AM
don't keep us in suspence, did your .soc to .sock change work? i am having a similar problem with my RaQ4r.