If I have a MySQL database hosted on one site, and I want to connect to it from another site, is there a way to do this?
Asked
Active
Viewed 266 times
-4
-
@rar your server ? shared hosting ? – Prix Aug 08 '13 at 20:12
-
Also look at this: http://www.thegeekstuff.com/2010/08/allow-mysql-client-connection/ – Tomasz Kowalczyk Aug 08 '13 at 20:13
-
You must to ask host provider ! to see if they use localhost for her Databases or other server like server.somesite.com but the most host providers use localhost – Alpha Root Mks Aug 08 '13 at 20:14
-
Mysql server can be easily accessed ... are you sure there is nothing more to the question ? – woofmeow Aug 08 '13 at 20:14
1 Answers
0
Yes.
You would have to configure MySQL to allow access from the remote server, and ensure that any intervening firewalls allow the MySQL port to go through.
For more info see
http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html

Eric J.
- 147,927
- 63
- 340
- 553