krahny
New Member
- Messages
- 25
- Reaction score
- 0
- Points
- 0
My code was going fine until, for no apparent reason, this warning message appeared. I think there is something wrong with the database connection.
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/krahny/public_html/login.php on line 3
Could someone please help me figure out what is wrong?
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/krahny/public_html/login.php on line 3
Could someone please help me figure out what is wrong?