diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index e8fa147267..30f17b870f 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -31,13 +31,14 @@ if ( ! $this->dbh ) { - $this->print_error("
-

Error establishing a database connection!

+ 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.

+

WordPress Support Forums

"); } @@ -53,11 +54,14 @@ { if ( !@mysql_select_db($db,$this->dbh)) { - $this->print_error("
    -
  1. Error selecting database $db!
  2. + die(" +

    We're having a little trouble selecting the proper database for WordPress.

    +
"); +
  • Your database name is currently specified as " . DB_NAME .". Is this correct?
  • +
  • On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?
  • + +

    WordPress Support Forums

    "); } }