MySQL Connector does not work with SQLAlchemy and Python 2.6
Bug #712037 reported by
Ute Arbeit
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL Connector/Python | Status tracked in Trunk | |||||
0.3 |
Fix Committed
|
High
|
Geert JM Vanderkelen | |||
Trunk |
Triaged
|
High
|
Geert JM Vanderkelen |
Bug Description
Connecting to a MySQL database using SQLAlchemy 0.6.6 / MySQL Connector 0.3.2 / Python 2.6 raises the exception
'MySQLConnection' object has no attribute 'get_characters
In the python2 branch the method 'get_characters
With a quick and dirty fix by defining the method on the MySQLConnection object
"""
Fix to work with SQLAlchemy 0.6.6
"""
def get_characterse
return self.get_charset()
the connector works for me now.
Related branches
Changed in myconnpy: | |
assignee: | nobody → Geert JM Vanderkelen (geertjmvdk) |
To post a comment you must log in.
Confirmed same problem but with Python 2.7, found the same fix myself before seeing this ticket.