Quote:
|
Originally Posted by mr_fern
Modify the script
This line:
mysql_select_db("$dbname") or die( "Unable to select database.");
Change it to:
mysql_select_db("$dbname") or die( mysql_error() );
P.S.
Have you made sure that you already granted the user privileges for the database? Sometimes people create the database, create the user, but forget to grant the user privileges to the database. This might very well be it.
In any case, just modify the php line to what I gave you and when you run the script it will give you a specific reason why it couldn't connect to the database.
|
From a screenshot I saw, his user has them all, but it's still not connecting. I installed it fine on mine, but it's not working on his for some reason. I thought about the modification, but since it's in that variable format, it seems it should have worked anyway.