InternalError: (1043, u'Bad handshake')
betaxab opened this issue · 4 comments
Issue:
File "/root/ssr/cymysql/init.py", line 84, in Connect
return Connection(*args, **kwargs)
File "/root/ssr/cymysql/connections.py", line 245, in init
self._connect()
File "/root/ssr/cymysql/connections.py", line 413, in _connect
self._request_authentication()
File "/root/ssr/cymysql/connections.py", line 497, in _request_authentication
auth_packet = self.read_packet()
File "/root/ssr/cymysql/connections.py", line 418, in read_packet
return MysqlPacket(self)
File "/root/ssr/cymysql/packet.py", line 65, in init
raise_mysql_exception(self.__data)
File "/root/ssr/cymysql/err.py", line 149, in raise_mysql_exception
_check_mysql_exception(errinfo)
File "/root/ssr/cymysql/err.py", line 144, in _check_mysql_exception
raise InternalError(errno, errorvalue)
InternalError: (1043, u'Bad handshake')
Commit: The lastest 2287d13
Yes, this problem has arisen again. Previous issue: #22
Umm latest revision and latest pypi uploaded version 0.9.8 seems works good.
(But my environment is MySQL 5.7)
I hope someone's additional report.
$pip -V
pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
$mysql -V
mysql Ver 15.1 Distrib 10.2.13-MariaDB, for Linux (x86_64) using readline 5.1
Mysql has used ssl.
What additional information do you need?
Thanks!
And sorry, I have found serious mistake for python2.7.