jit error while connecting to mysql remotly

蹲街弑〆低调 提交于 2019-12-12 05:33:42

问题


i have enabled mysql to remote access and set a user with all grant permissions, and from typing what is my IP in google i get my public ip, my connection string is :

SERVER=MY_PUBLIC_IP;PORT=3306;DATABASE=my_test;UID=myuser;PWD=xxxx;

i changed the bind-address in my.ini as in this question to my public ip, but i guess no matter what i do i still get that jit error which is:

MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.

i try to connect with a c# form, note that the form work fine on my PC but i can't figure out a way to remote connect to the db in my computer from another PC, any help with that?

来源:https://stackoverflow.com/questions/22729309/jit-error-while-connecting-to-mysql-remotly

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