diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index d965a66f71..b7d87fe554 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -26,13 +26,9 @@ // ================================================================== // DB Constructor - connects to the server and selects a database - function wpdb($dbuser, $dbpassword, $dbname, $dbhost) - { - + function wpdb($dbuser, $dbpassword, $dbname, $dbhost) { $this->dbh = @mysql_connect($dbhost,$dbuser,$dbpassword); - - if ( ! $this->dbh ) - { + if ( ! $this->dbh ) { die("
Error establishing a database connection! This probably means that the connection information in youn wp-config.php
file is incorrect. Double check it and try again.
We're having a little trouble selecting the proper database for WordPress.
SQL/DB Error:
[$str]
$this->last_query