Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
09-14-2008, 09:36 PM #1
Connecting to a remote database using Wamp Server.
I'm trying to connect to a remote database from my wamp server but it doesn't work.
I've tried to look for the answer myself but the only thing I found is that it's firewall related issue. Which in my case, it is not.
I've tried disabling the firewall, also tried to open the port 3306 on my modem.
Nothing worked really.
When I uploaded the connection page to the remote server site, it worked fine. So I really have no idea what I can do now to make it work.
Did I miss anything?
09-14-2008, 10:09 PM #2
- Join Date
- Jul 2006
- Thanked 7 Times in 7 Posts
09-14-2008, 10:28 PM #3
you connect to a remote server in exactly the same way as you connect to your local server just instead of having server "localhost" you have server "ipaddress"
code wise there's no black magic here.
however most ISP's and DB hosts do NOT allow remote connects to their mysql database and the chances are the user you were given to access your database with is only allowed to connect via localhost ie: off the same server/trusted network.
i'd get in touch with your web host first and check see if your user can remote access the database.