It is currently Fri Oct 04, 2024 8:06 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: MySQL Database remote login
PostPosted: Tue Apr 19, 2011 2:46 am 
Newbie
Newbie

Joined: Fri Nov 26, 2010 10:40 am
Posts: 3
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?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 21, 2011 10:18 am 
Newbie
Newbie

Joined: Fri Nov 26, 2010 10:40 am
Posts: 3
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..


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 21, 2011 9:28 pm 
Newbie
Newbie

Joined: Fri Nov 26, 2010 10:40 am
Posts: 3
Thank you sir. At last some notable support provided.


Top
 Profile  
 
 Post subject: Re: MySQL Database remote login
PostPosted: Thu Sep 20, 2012 11:58 am 
Newbie
Newbie

Joined: Thu Sep 20, 2012 11:56 am
Posts: 1
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

_________________
brad


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011