Warning: mysql_connect(): Unknown MySQL Server Host '{localhost}' (2) in xxx....xxx/common/dbConnection.php on line 10
Error !! Unable to connect to database
Line 10 is: $dblink = MYSQL_CONNECT($dbHostname, $dbUsername, $dbPassword) OR DIE("Error !! Unable to connect to database");
Your help is greatly appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Check your xxxx.conf.php file to make sure your dbHostname, dbUsername, and dbPassword are defined correctly. Then be sure this file is in the PHP /ext directory (or in your PEAR directory, if you are using that for php includes).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello.
I get this error.
Warning: mysql_connect(): Unknown MySQL Server Host '{localhost}' (2) in xxx....xxx/common/dbConnection.php on line 10
Error !! Unable to connect to database
Line 10 is: $dblink = MYSQL_CONNECT($dbHostname, $dbUsername, $dbPassword) OR DIE("Error !! Unable to connect to database");
Your help is greatly appreciated.
Check your xxxx.conf.php file to make sure your dbHostname, dbUsername, and dbPassword are defined correctly. Then be sure this file is in the PHP /ext directory (or in your PEAR directory, if you are using that for php includes).