>when i try to run phpmyadmin i got an error message and the log from mysql
>says:
>ERROR 2002: Can't connect to local MySQL server through socket
>'/var/lib/mysql/mysql.sock' (111)

AAARGHHHH if you would have taken the time to check the archive you would 
have know it has to do with the location where PHP thinks mysql.sock is. 
Normally it would live in /tmp
Change your php.ini to match this.

2th option: mysqld isn't running. To find out: ps -ax If it's not running 
start it.. check the manual for more info.

If you can't find it in the MYSQL lists archive, check the archives at 
www.php.net this has been answered at least 75 times..

Even a newbie can check the archive :-)

Bye,


B.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to