mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
When mysql_connect() fails to establish a connection, it means that it couldn't connect, not that it could. :P
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41234 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
211f7b7ae6
commit
85b45924a2
@ -40,7 +40,7 @@ class MySQLDatabase extends Database {
|
||||
$this->active = mysql_select_db($parameters['database'], $this->dbConn);
|
||||
$this->database = $parameters['database'];
|
||||
if(!$this->dbConn) {
|
||||
$this->databaseError("Could connect to MySQL database");
|
||||
$this->databaseError("Couldn't connect to MySQL database");
|
||||
}
|
||||
|
||||
parent::__construct();
|
||||
|
Loading…
Reference in New Issue
Block a user