DB_Sql never closes a database connection. The connection is torn down when the script exits (subject to a pconnect causing the apache process to hold it open).
Turn on logging in your DB and check the logs for errors. Or just trace through the connection which failed.
Or subscribe to the mailing list and ask your Q there. Lots more readers of the list than this forum. Include sample code and excerpt from Apache and DB error logs.
...R.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Someone could explain me how the class DB_Sql closes a connection?
It may explain me why I am getting many Errors like this:
MySQL Error: 2013 (Lost connection to MySQL server during query)
Thks
DB_Sql never closes a database connection. The connection is torn down when the script exits (subject to a pconnect causing the apache process to hold it open).
Turn on logging in your DB and check the logs for errors. Or just trace through the connection which failed.
Or subscribe to the mailing list and ask your Q there. Lots more readers of the list than this forum. Include sample code and excerpt from Apache and DB error logs.
...R.