Hello friends, I have trouble connecting MySQL hosted at other host.... Here is what I am trying to do... conect to mysql from host A to host B.. these are the settigns I am using.. host- Ip address of host B DB username: xxxxxxx DB name: YYYYYYY DB password: ******* I am using cPanel on both hosts and yes I have given permissons to access database from host A i.e added host A's ip... can you please tell me what I am missing here....? I am getting connection error
Chances are that your webhost has setup MySQL to only accept requests from a certain IP range = and that doesn't include the second site. Install Toad (see http://forums.digitalpoint.com/showthread.php?t=316254) and try to connect through that. It'll give you a user friendly error message if I'm right.
Let me give i a try.. BUT I am sure that I have added this IP in cPanel to allow that IP to connect which should work fine (theoretically) Anyway thanks for the reply....
Yes, you may have to put the hostname of the server and/or the ip address of the server, not just the ip of domain A.
This is what had happend.. my site was on dedicated ip and I was using dedicated IP... it needs shared ip of the host....