Remote MySql connection from other server

南笙酒味 提交于 2019-12-25 06:49:20

问题


I have to use MySql database which is lie on other server. I have it's IP, username and password.

How I can make connection with remote MySql data base. Is there need to give any permission to my IP address by remote MySql database provider. I think that would be mandatory

Give your opinions.

Thanks


回答1:


there are a few steps to do, just follow this tutorial.

basically, you'll have to:

  • enable networking
  • set a bin-address
  • grant access from another ip to your database-user



回答2:


To access Mysql database from another server, you have to enable mysql remote connection in the current server.So that you can access it. For more info just refer the following link http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html



来源:https://stackoverflow.com/questions/8382743/remote-mysql-connection-from-other-server

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