Connecting to remote my Sql shows me access denied for user azerty@41.175.10.32 ( Using Password : Yes )

北慕城南 提交于 2019-12-02 04:15:45

问题


Everything worked fine, When I configure the TMySqlConnection Driver to connect on the Local computer using WAMP local server, but when trying to configure the driver to connect to a remote MySQL server, I got an error.

aceess denied for user myuserna_me@41.175.10.32 ( Using password: yes)

How to fix the problem and force the host address to be the server's IP in which my SQL database is hosted.

credentials:

  • HostName : mydomain-cdn.net
  • PassWord : Hk*HjBc+SwXS
  • Username : myusername
  • Database : mydbname_main

Where 41.175.10.32 is my IP address (not the host address).


回答1:


I think that the problem is that you haven't set up the myuserna_me user so that it has the right to connect to the DB from the 41.175.10.32 IP. mySQL user accounts do contain information from which IP given user may connect, it is also possible to use wildcard % for "without IP restrictions" access. See "Adding User Accounts" topic in mySQL manual, it has some examples too.



来源:https://stackoverflow.com/questions/8711495/connecting-to-remote-my-sql-shows-me-access-denied-for-user-azerty41-175-10-32

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!