Forum Moderators: coopster
looking at the phpinfo data, it says mysql.max_links is "unlimited"
I'm using mysql_connect (vs pconnect).
When I try inserting mysql_close() in my functions, I get the :
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Any suggestions are appreciated
[dev.mysql.com...]
- there are too many connections. Increase values in /etc/my.cnf for (max_connections=XXX)
- existing connections are opened and waiting for long. Decrease value of wait_timeout=XX if possible.
- Your disk space residing MySQL data is full. Clean the disk and restart.
Hope this helps.
I have had this problem before and promptly changed hosts. I am not saying that is what you need to do, that is just what happened in my particular case.