I have installed mysql 5.0.24 and php 5.1.4. I can connect to mysql through command prompt without any problems, but when i try through php it fails. In error_log i get this :
PHP Warning: mysql_connect() [<a ref=function.mysql-connect>function.mysql-connect</a>]: Cant connect to local MySQL server through socket /var/lib/mysql/mysql.sock (111)
I have /var/lib/mysql/mysql.sock and everything seems ok but ..
I hope you'll help or give me an advice.
error 111 with web server
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users