in reply to Re: Mysql handle not in asynchronous mode
in thread Mysql handle not in asynchronous mode
I was having issues with mysql. I was saving individual hashrefs into an array and my script wasn't providing any results. I started running via:
$ DBI_TRACE=2 perl get_data.pland saw messages such as:
Handle is not in asynchronous mode error 2000 recorded: Handle is not in asynchronous mode
A post in this thread: https://www.nntp.perl.org/group/perl.dbi.dev/2015/07/msg7950.html suggested increasing the trace level to 4 for more insight. (It also seemed to think DBD::mysql was buggy.)
I tried DBI_TRACE with 4 and didn't see anything new. However, changing to using fetchrow_arrayref started showing data again. :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Mysql handle not in asynchronous mode
by tultalk (Monk) on Mar 31, 2018 at 12:10 UTC |