Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cymysql.err.InternalError: (1043, 'Bad handshake') #22

Closed
iatmakdotcx opened this issue May 2, 2018 · 5 comments
Closed

cymysql.err.InternalError: (1043, 'Bad handshake') #22

iatmakdotcx opened this issue May 2, 2018 · 5 comments

Comments

@iatmakdotcx
Copy link

Server version: 5.5.56-MariaDB MariaDB Server

Traceback (most recent call last):
File "D:/PycharmProjects/cymysqlTest/mm.py", line 3, in
conn = cymysql.connect(host='127.0.0.1',port=3306,user="root",passwd="1123",db="ssp",charset='utf8')
File "C:\Users\Chin\venv\cymysqlTest\lib\cymysql_init_.py", line 81, in Connect
return Connection(*args, **kwargs)
File "C:\Users\Chin\venv\cymysqlTest\lib\cymysql\connections.py", line 222, in init
self._connect()
File "C:\Users\Chin\venv\cymysqlTest\lib\cymysql\connections.py", line 388, in _connect
self._request_authentication()
File "C:\Users\Chin\venv\cymysqlTest\lib\cymysql\connections.py", line 460, in _request_authentication
auth_packet = MysqlPacket(self)
File "C:\Users\Chin\venv\cymysqlTest\lib\cymysql\packet.py", line 67, in init
raise_mysql_exception(self.__data)
File "C:\Users\Chin\venv\cymysqlTest\lib\cymysql\err.py", line 142, in raise_mysql_exception
_check_mysql_exception(errinfo)
File "C:\Users\Chin\venv\cymysqlTest\lib\cymysql\err.py", line 138, in _check_mysql_exception
raise InternalError(errno, errorvalue)
cymysql.err.InternalError: (1043, 'Bad handshake')

@nakagami
Copy link
Owner

nakagami commented May 2, 2018

Can you test with master branch on github repository ?
I hope to test with the latest version.

@betaxab
Copy link

betaxab commented May 3, 2018

@nakagami CyMysql still not worked on MySQL 5.6.16. I'm using the lastest submit 1e55459
Can you review it again?

@betaxab
Copy link

betaxab commented May 3, 2018

I confirmed this commit have a issue: f941eb3

nakagami added a commit that referenced this issue May 3, 2018
@nakagami
Copy link
Owner

nakagami commented May 3, 2018

Thanks

Probably fix it, so please retry with master HEAD.
Is it fixed ?

@iatmakdotcx
Copy link
Author

Thanks.
It works ~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants