I know the the database "report" exists, I made it with phpmyadmin.
I have the following code :
Code: Select all
mysql_connect($db_host,$user, $passwd) or die ("Failed to connect to the MySQL server!");
mysql_select_db ("report") or die ("Failed to connect to the database!");
Failed to connect to the database!
Somebody an idea what's the problem?
THX