|
-
May 10th, 2006, 06:59 AM
#1
Thread Starter
Addicted Member
Remote Host mysql
I want to open databse used by my one website hosted at shared account at another host from my new website hosted at another host.
I have changed host from "localhost" to ip address of server but there is no success.
Any help please?
Thank You.
-
May 10th, 2006, 07:13 AM
#2
<?="Moderator"?>
Re: Remote Host mysql
The host needs to open the port on the firewall to allow remote access. As well as this the user premissions for the account need to be changed so that your account has the rights to login from a differnet machine other than localhost.
-
May 10th, 2006, 08:24 AM
#3
Re: Remote Host mysql
You may also have to specify the port in the host address.
IE) 255.255.255.255:3306
-
May 10th, 2006, 10:37 AM
#4
Hyperactive Member
Re: Remote Host mysql
I think the SQL server needs to be configured for remote access as well, I am not sure if it is by default.
-
May 10th, 2006, 08:01 PM
#5
Thread Starter
Addicted Member
Re: Remote Host mysql
I have programmed a little software in Visual Basic which can connect to my database at remote host.I have also set access to %.%.%.%
But i am unable to open it from another website(hosted at another server).
-
May 12th, 2006, 12:19 AM
#6
Thread Starter
Addicted Member
Re: Remote Host mysql
 Originally Posted by kfcSmitty
You may also have to specify the port in the host address.
IE) 255.255.255.255:3306
But in visual basic program i have mentioned only server ip address and its working great.
But problem is when i access it from another host website.
Please help me.
-
May 12th, 2006, 09:14 AM
#7
Re: Remote Host mysql
When accessing it on a local server, you're probably already within the firewall, so specifying a port isnt really important.
But, since you're trying to access it from an external site now, you may need to specify the port so it can get past the security on their end.
-
May 12th, 2006, 08:14 PM
#8
Thread Starter
Addicted Member
Re: Remote Host mysql
Now i tried with port number but same error message
Warning: mysql_connect(): Access denied for user 'username'@'anyhost' (using password: YES)
When i tried to google that error but unfortunately only few results returned and these pages were indexed with same error not with help.
-
May 13th, 2006, 08:50 AM
#9
Thread Starter
Addicted Member
Re: Remote Host mysql
Now this issue is becoming more complicated because i have confirmed from my database host about any restriction on remote database connection and they said no there is no restricion and i have also confirmed from my new host to confirm do they allow remote port connection outside their server and they said there is no problem and we allow it.
I have already added %.%.%.% to allow all ip addresses but still getting error mentioned in upper post.
But more tidious situation is that it has not enough help on google
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|