squiggerz Posted October 8, 2007 Share Posted October 8, 2007 Ok, I have a db on Server A. Server B is on the same network, different IP. Server B connects to the db correctly through my php script. Server C is on a totally different network. Using the same script as was used on Server B, I'm unable to connect to Server A's database. Access hosts on Server A has been configured as % to allow connections from anywhere. I can connect to the db from my local computer using SQLyog just fine. Both Server B & C are running php 4.4 Any ideas as to why the script will not connect on Server C? Link to comment https://forums.phpfreaks.com/topic/72276-cant-connect-to-remote-mysql-db/ Share on other sites More sharing options...
squiggerz Posted October 8, 2007 Author Share Posted October 8, 2007 Update: Server B is not the only server that the script works on. I've tested the same script on at least 5 other servers across the interwebs... So either Server A is blocking traffic from Server C ? or Server C has a configuration problem somewhere in php? Link to comment https://forums.phpfreaks.com/topic/72276-cant-connect-to-remote-mysql-db/#findComment-364475 Share on other sites More sharing options...
squiggerz Posted October 8, 2007 Author Share Posted October 8, 2007 Ok, I've narrowed it down a bit more. Apparently I can get this php connect script to function correctly on several different servers. The only one I'm having trouble getting it to work correctly on is a Verio VPS account. What I'm saying is: Verio VPS account has the php script to execute. Server A is a Hostgator account, which is where the database is located. Every other server I try can use this script to access that database. Except for the Verio one. Link to comment https://forums.phpfreaks.com/topic/72276-cant-connect-to-remote-mysql-db/#findComment-364487 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.