Python-MySQL-Google Developer Console

76 Views Asked by At

I am rather new to programming.

I have accidentally created connections to Google Cloudsql instance by Python without realising.

Trouble is, I did not include close connection in the script and now I am with 7 active connections unclosed.

I have tried using "mydb.close()" and leaving it overnight but none works it only closes the new scripts. So please could anyone give me a hand on how to close these active connections ?

Many thanks in advance.

0

There are 0 best solutions below