I have been getting the following error consistently every few days:

Warning: Too many connections in /path/to/connection.php

I altered the max_connections in my.cnf to allow for 300 connections. I am not using persistent connections with php. I used to use them but got this too many connections error all the time, so I switched to non-persistent connections, but they don't seem to be getting killed off? I am using php to connect.

has anyone else dealt with this issue? Should I perhaps be closing the mysql_connect() after running each query?

any advice is appreciated.


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to