Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
05-21-2004, 06:21 AM #1
- Join Date
- Apr 2004
- Thanked 0 Times in 0 Posts
cannot connect through socket error
I have a chatroom on my webpage that refreshes every 5 seconds, and it works fine, BUT occasionally I would get this error when it refreshes
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2) in /home/luved/public_html/dbconn.php on line 6
Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2)
I'm thinking maybe it has something to do with the constant connecting to MySql?
I hope not because I don't want to have to get rid of the chatroom. maybe have it refresh less?