TheDarkSide Posted August 27, 2006 Share Posted August 27, 2006 Hello,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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.