MySQL Forums
Forum List  »  Connector/Python

How to set a driver-side query execution timeout
Posted by: Aaron Congo
Date: October 31, 2023 05:13PM

Hi, is there a way to set a driver-side query execution timeout? We noticed that the MySQL JDBC driver supports setting a driver-side socket/network timeout but the MySQL Python driver does not. This is a problem for us because if the server becomes unresponsive, any queries being executed will hang indefinitely. Is there a suggested solution for this problem?

Options: ReplyQuote


Subject
Written By
Posted
How to set a driver-side query execution timeout
October 31, 2023 05:13PM


Sorry, only registered users may post in this forum.

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.