snower / TorMySQL

The highest performance asynchronous MySQL driver by PyMySQL
MIT License
308 stars 63 forks source link

Tornado 5.0 compatibility #31

Closed prohodilmimo closed 6 years ago

prohodilmimo commented 6 years ago

Some changes in tornado 5.0 (sockets, probably?) render TorMySQL unusable. Encountered and replicated with TorMySQL version 0.3.6, python 2.7.13 and no asyncio.

Trying to yield ConnectionPool.Connection() results in following MySQL errors:

OperationalError: (2003, u"Can't connect to MySQL server on %server_ip%:3306 (OperationalError(2013, 'Lost connection to MySQL server during query (Stream is closed)'))")
snower commented 6 years ago

Already repaired, you can reinstall,thanks.