问题
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