MySQL Forums
Forum List  »  Connector/Python

Re: python empty result set
Posted by: Peter Brawley
Date: October 15, 2019 11:10AM

To debug a mysql query running in an API like Python, have the script echo the query, paste it into the mysql client program to run, and fiddle till it stops eliciting error & warning msgs.

In the script, all query calls need error handling with messages for the user and detailed mysql error logging for your use.

Options: ReplyQuote

Written By
October 15, 2019 09:52AM
Re: python empty result set
October 15, 2019 11:10AM
October 16, 2019 02:10PM
October 17, 2019 06:14PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.