Better message.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ac4cbfa853
commit
4d55cc850b
|
@ -44,7 +44,7 @@ class wpdb {
|
||||||
if (!$this->dbh) {
|
if (!$this->dbh) {
|
||||||
$this->bail("
|
$this->bail("
|
||||||
<h1>Error establishing a database connection</h1>
|
<h1>Error establishing a database connection</h1>
|
||||||
<p>This either means that the username and password information in your <code>wp-config.php</code> file is incorrect or we can't contact the database server at <code>$dbhost</code>.</p>
|
<p>This either means that the username and password information in your <code>wp-config.php</code> file is incorrect or we can't contact the database server at <code>$dbhost</code>. This could mean your host's database server is down.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Are you sure you have the correct username and password?</li>
|
<li>Are you sure you have the correct username and password?</li>
|
||||||
<li>Are you sure that you have typed the correct hostname?</li>
|
<li>Are you sure that you have typed the correct hostname?</li>
|
||||||
|
@ -69,7 +69,7 @@ class wpdb {
|
||||||
<li>Are you sure it exists?</li>
|
<li>Are you sure it exists?</li>
|
||||||
<li>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?</li>
|
<li>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?</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>If you continue to have connection problems you should contact your host. If all else fails you may find help at the <a href='http://wordpress.org/support/'>WordPress Support Forums</a>.</p>");
|
<p>If you don't know how to setup a database you should <strong>contact your host</strong>. If all else fails you may find help at the <a href='http://wordpress.org/support/'>WordPress Support Forums</a>.</p>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue