in reply to error dbi
I'm going to guess the cause is that you have statement handles which you never called finish on before you tried to call disconnect on the main DBI handle. After you're done retrieving results from a handle (as returned from prepare in your sample) you should call finish to let DBI and your database know you're done so it can do whatever it needs to do (freeing up resources, closing whatever, yadda yadda yadda).
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: error dbi
by bigup401 (Pilgrim) on Oct 16, 2020 at 13:32 UTC | |
|
Re^2: error dbi
by bigup401 (Pilgrim) on Oct 16, 2020 at 14:05 UTC | |
by Fletch (Bishop) on Oct 16, 2020 at 14:09 UTC | |
by choroba (Cardinal) on Oct 16, 2020 at 15:07 UTC | |
by bigup401 (Pilgrim) on Oct 16, 2020 at 15:10 UTC |