Marcello has asked for the wisdom of the Perl Monks concerning the following question:
Why is this happening only on the main Perl program and not in the child processes? They all use the same Database package. Can it have something to do with the fact this process forks of child processes and this causes the Database connection to be closed/lost?11-06-2003 13:31:13: [ERROR=5] DBD::mysql::st execute failed: Lost con +nection to MySQL server during query at ... line 147. 11-06-2003 13:32:00: [ERROR=5] DBD::mysql::st execute failed: Lost con +nection to MySQL server during query at ... line 147. 11-06-2003 13:32:52: [ERROR=5] DBD::mysql::st execute failed: Lost con +nection to MySQL server during query at ... line 147. 11-06-2003 13:36:45: [ERROR=5] DBD::mysql::st execute failed: Lost con +nection to MySQL server during query at ... line 147. 11-06-2003 13:41:15: [ERROR=5] DBD::mysql::st execute failed: Lost con +nection to MySQL server during query at ... line 147. 11-06-2003 13:41:30: [ERROR=5] DBD::mysql::db do failed: Lost connecti +on to MySQL server during query at ... line 194. 11-06-2003 13:47:14: [ERROR=5] DBD::mysql::st execute failed: Lost con +nection to MySQL server during query at ... line 147.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI lost connection errors
by runrig (Abbot) on Jun 11, 2003 at 16:33 UTC | |
by Marcello (Hermit) on Jun 11, 2003 at 17:40 UTC | |
by runrig (Abbot) on Jun 12, 2003 at 01:01 UTC | |
by Marcello (Hermit) on Jun 12, 2003 at 10:08 UTC | |
|
Re: DBI lost connection errors
by barrd (Canon) on Jun 11, 2003 at 13:03 UTC | |
by Marcello (Hermit) on Jun 11, 2003 at 13:09 UTC | |
by barrd (Canon) on Jun 11, 2003 at 13:19 UTC | |
by Grygonos (Chaplain) on Jun 11, 2003 at 15:21 UTC |