FreeHostia Forums
https://forum.freehostia.com/

MySQL Database remote login
https://forum.freehostia.com/viewtopic.php?f=7&t=25016
Page 1 of 1

Author:  Phleg [ Tue Apr 19, 2011 2:46 am ]
Post subject:  MySQL Database remote login

Im developing a java app in which Im trying to connect to my DB.
I've double checked the host and login details and everythings seems ok. However the server doesnt seem to respond.

Is remote login for the MySQL database disabled by default? If yes, how can I enable it?

Author:  Phleg [ Thu Apr 21, 2011 10:18 am ]
Post subject: 

Thats was the only explanation. Thanks.
Another important question: Are the DB located on the same server as our domains, right? I mean, if I write some code that manipulates my DB and upload it to run on the server, I would be able to execute my queries? No remote control or connection..

Author:  Phleg [ Thu Apr 21, 2011 9:28 pm ]
Post subject: 

Thank you sir. At last some notable support provided.

Author:  brad000123 [ Thu Sep 20, 2012 11:58 am ]
Post subject:  Re: MySQL Database remote login

All you need to do is specify remote mysql host with –h option. For example to connect remote mysql server called server.test.com you need to type command as follows

$ mysql –u ruchi –h server.test.com -p

OR if you with to use MySQL server ip address (172.20.1.101)

$ mysql –u vivek –h 172.20.1.101 -p

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/