UPRJon Posted May 10, 2006 Share Posted May 10, 2006 We have a Virtual Dedicated Server with godaddy.com. Whenever we try to connect to the database we get a "The page Cannot be Displayed" message. PHP works fine on echo commands. MySQL database name and passwords are correct. Our PHP Connect strings are correct. We have tried using localhost, sparoracing.com, our virtual ip address, and so on for the hostname. Anyone know whats up? Quote Link to comment https://forums.phpfreaks.com/topic/9502-php-441-trying-to-connect-to-mysql-4118-page-cannot-be-displayed/ Share on other sites More sharing options...
fenway Posted May 10, 2006 Share Posted May 10, 2006 Sounds like godaddy should have the answer... esp. if, as you say, everything is up and running. Even a simple "hello world" non-PHP script doesn't show? Quote Link to comment https://forums.phpfreaks.com/topic/9502-php-441-trying-to-connect-to-mysql-4118-page-cannot-be-displayed/#findComment-35092 Share on other sites More sharing options...
UPRJon Posted May 10, 2006 Author Share Posted May 10, 2006 [!--quoteo(post=373112:date=May 10 2006, 05:01 PM:name=fenway)--][div class=\'quotetop\']QUOTE(fenway @ May 10 2006, 05:01 PM) [snapback]373112[/snapback][/div][div class=\'quotemain\'][!--quotec--]Sounds like godaddy should have the answer... esp. if, as you say, everything is up and running. Even a simple "hello world" non-PHP script doesn't show?[/quote]Godaddy cant answer these questions, they are morons.Every command in PHP works (echo, print, w/e). Just when we try to connect to the MySQL database, it comes back with, "The page Cannot Be Displayed" Quote Link to comment https://forums.phpfreaks.com/topic/9502-php-441-trying-to-connect-to-mysql-4118-page-cannot-be-displayed/#findComment-35093 Share on other sites More sharing options...
.josh Posted May 11, 2006 Share Posted May 11, 2006 please post your code for connecting to the database Quote Link to comment https://forums.phpfreaks.com/topic/9502-php-441-trying-to-connect-to-mysql-4118-page-cannot-be-displayed/#findComment-35216 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.