Skip to content

Can not connect Azure Database for MySQL. #584

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

Closed
elemount opened this issue Jun 29, 2017 · 0 comments
Closed

Can not connect Azure Database for MySQL. #584

elemount opened this issue Jun 29, 2017 · 0 comments

Comments

@elemount
Copy link
Contributor

Connect with Azure Database for MySQL got this error.

Traceback (most recent call last):
File "example.py", line 6, in
conn = pymysql.connect(host='shuodlclient.mysql.database.azure.com', port=3306, user='mysqlaas@shuodlclient', passwd='test_PyMySQL', db='mysql')
File "/home/lishuode/code/PyMySQL/pymysql/init.py", line 90, in Connect
return Connection(*args, **kwargs)
File "/home/lishuode/code/PyMySQL/pymysql/connections.py", line 705, in init
self.connect()
File "/home/lishuode/code/PyMySQL/pymysql/connections.py", line 931, in connect
self._request_authentication()
File "/home/lishuode/code/PyMySQL/pymysql/connections.py", line 1160, in _request_authentication
auth_packet = self._process_auth(plugin_name, auth_packet)
File "/home/lishuode/code/PyMySQL/pymysql/connections.py", line 1225, in _process_auth
pkt = self._read_packet()
File "/home/lishuode/code/PyMySQL/pymysql/connections.py", line 1013, in _read_packet
packet.check_error()
File "/home/lishuode/code/PyMySQL/pymysql/connections.py", line 393, in check_error
err.raise_mysql_exception(self._data)
File "/home/lishuode/code/PyMySQL/pymysql/err.py", line 107, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.OperationalError: (1045, u"Access denied for user 'mysqlaas'@'167.220.255.151' (using password: YES)")

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant