AWS EC2 Windows_Server-2016实例。AWS实例安全组的样子:
1. Tried connecting by using the aws public ipv4 address as a host field and using mysql username & password
2. Tried connecting by creating an SSH connection i.e providing server username/password and .ppk file in SSH connection panel & then providing mysql host/username and localhost in mysql connection panel使用的任何方法都不允许我连接,我在基于linux的服务器上尝试了相同的过程,并且可以成功地连接。请让我知道我在使用基于窗口的MySQL主机时出了什么问题。
发布于 2017-09-24 21:59:43
MySQL为远程客户端提供额外的IP保护。您必须通过GRANT访问remote ip(您的办公室)才能进行连接。作为根用户,您必须这样做:
GRANT ALL ON <db>.* TO '<username>'@'<remote ip>' IDENTIFIED BY '<remote_password>';您试图连接到的DB在哪里等。
https://stackoverflow.com/questions/46389362
复制相似问题