Jump to content


error 111 with web server

  • Please log in to reply
No replies to this topic

#1 TheDarkSide

  • New Members
  • Pip
  • Newbie
  • 2 posts
  • LocationBulgaria

Posted 27 August 2006 - 02:05 PM

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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users