in reply to
Re^3: Can i execute two queries connecting to same DB at a time.
in thread Can i execute two queries connecting to same DB at a time.
What part of Connection is busy with result and my reply:
you still have a statement handle open and did not ->finish() it before trying to issue another SQL statement
is giving you problems?
Your code is opening a second SQL statement before retrieving all results from the first SQL statement. This does not work for your combination of database, OS and DBD.