Re: [sqlalchemy] How to kill a MySQL process on keyboard Interrupt?

2019-11-14 Thread Marcin Koziej
‐‐‐ Original Message ‐‐‐ On Thursday, November 14, 2019 3:22 PM, Mike Bayer wrote: > that's the driver you're using which would not be allowing keyboard interrupt > to go through. > > I just tried this with mysqlclient and pymysql and I would assume you're > using mysqlclient as it

Re: [sqlalchemy] How to kill a MySQL process on keyboard Interrupt?

2019-11-14 Thread Marcin Koziej
Wow! Thank You so much for pointing me these! --  Marcin Koziej GPG key: https://go.cahoots.pl/gpg/  Ϟ  Twitter: @movonw ‐‐‐ Original Message ‐‐‐ On Thursday, November 14, 2019 2:31 PM, Simon King wrote: > For what it's worth, you can read how the mysql command line does it h

Re: [sqlalchemy] How to kill a MySQL process on keyboard Interrupt?

2019-11-14 Thread Marcin Koziej
the correct process (what if the same user is running another query concurrently?). Does SQLAlchemy store last command pid maybe? --  Marcin Koziej GPG key: https://go.cahoots.pl/gpg/  Ϟ  Twitter: @movonw ‐‐‐ Original Message ‐‐‐ On Thursday, November 14, 2019 12:37 PM, Simon King wrote

[sqlalchemy] How to kill a MySQL process on keyboard Interrupt?

2019-11-14 Thread Marcin Koziej
() as well, but without result. How can I kill such running query on keyboard interrupt? Best regards, Marcin Koziej -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable