Hello, all.
What is the difference between:
Case 1: I auth with header('WWW-Auth.......') and validate the user from a
plain file. Next, i do something like
mysql_connect($the_db_host,$the_db_username,$the_db_pass);
mysql_select_db($the_db_name);
mysql_query("select * from table");
----- and it works fine.
Case 2. Without any form of auth, I read the text file and do
mysql_connect($the_db_host,$the_db_username,$the_db_pass);
mysql_select_db($the_db_name);
mysql_query("select * from table");
and the server response is:
Error 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock; (111)
What does this auth do with the rights on mysql?
Thanks.
Alex Sofronie
[EMAIL PROTECTED]
--
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]