1
vote
2answers
101 views

Two connections/cursors in mysqldb - commands out of sync error

I'm using mysqldb in part of a script to copy information from one database to another. A snippet of the code I have is as follows: connection1 = mysqldb.connect('localhost', 'root', 'password', ...
2
votes
0answers
674 views

Python MySQLdb connection - when to open/close new connections?

I'm using a few apps running Tornado Web server which all connect to a MySql DB using mysqldb. When I spin up the server, it instantiates a DB class (below) which opens a connection to the DB. All ...
1
vote
0answers
104 views

ImportError: No localization support for language 'eng' in python

i am getting ImportError: No localization support for language 'eng' when using MySQL Connector Python. My Traceback is as below. Traceback (most recent call last): File \"DB_Module.py\", line 151, ...