I am getting the "Error establishing a database connection" after installation. I've searched many forums without success. My versions are as follows (I think I have all
the minimum required versions):
I wrote the following script in PHP to test my PHP access
and it fails, which leads me to believe it is a PHP problem (making sure to insert the proper values into
the db_* variables). My mysql client works with the values I tried. I get the "can't connect to db:" error when I run the script via browser.
@mysql_pconnect($db_host,$db_user,$db_pass) or die("can't
connect to db host: $db_host");
@mysql_select_db($db_name) or die("can't connect to db: $db_name");
$select = "SELECT user_login FROM wp_users";
$result = mysql_query($select) or die('db select failed!' .