B. Tolka wrote:
In my logs I keep getting error messages like this every few hours. The wait_timout on mysql is 28800.

DBD::mysql::st execute failed: Lost connection to MySQL server during query

Are you using fork? Or system or exec?


In other words, are two processes/threads trying to talk to the server on the same channel? I run upon this error before understanding that this is impossible. Fork, then connect to the database is the clean approach.

Search for fork in this group.

Kalin.

--
/|\^^^^^^^^^^^^^^^^^^^^^^/|\
|O| http://ThinRope.net/ |O|
\|/______________________\|/



Reply via email to