bluehostuserguy
03-16-2008, 11:30 AM
I am moving from one hosting company to Bluehost, and did an apparently successful import of a database. I can use Bluehost's phpMyAdmin to navigate through the database.
My page uses PHP to connect to it, using the format:
@mysql_connect($database,$username,$password);
@mysql_select_db($database) or die( "Please try back later.");
If I use "echo $database;" "echo $username;" and "echo $password;" just prior to those lines, it appears that I've got the right password, right username, and right database...and this all works just fine on the old website (I haven't transferred the nameservers yet...I want to get it working properly on Bluehost first.)
But I'm getting a "Please try back later" every time.
Does anyone know what's going on? I'm on the Bluehost temporary URL...do I need to provide more info, such as a full directory path? (The database is in an addon directory)
Has anyone else had this issue? I'm totally stumped. It seems like it should just...connect...poof...but that's not what's happening. Any help would be great. Thanks very much.
My page uses PHP to connect to it, using the format:
@mysql_connect($database,$username,$password);
@mysql_select_db($database) or die( "Please try back later.");
If I use "echo $database;" "echo $username;" and "echo $password;" just prior to those lines, it appears that I've got the right password, right username, and right database...and this all works just fine on the old website (I haven't transferred the nameservers yet...I want to get it working properly on Bluehost first.)
But I'm getting a "Please try back later" every time.
Does anyone know what's going on? I'm on the Bluehost temporary URL...do I need to provide more info, such as a full directory path? (The database is in an addon directory)
Has anyone else had this issue? I'm totally stumped. It seems like it should just...connect...poof...but that's not what's happening. Any help would be great. Thanks very much.