>Case 2. Without any form of auth, I read the text file and do
> mysql_query("select * from table");
>and the server response is:
>Error 2002: Can't connect to local MySQL server through socket
This really is a faq.
Mysql.sock normally lives in /tmp think RH puts it in /var/lib PHP can't
find it. Might be php.ini looks in /var/lib change it there to match the
location of you mysql.sock .. also .. check if mysql is running (ps ax |
grep mysql). If it isn't you can't connect to it.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]