mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Show better message if couldn't find MySQL version in MySQLDatabaseConfigurationHelper
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@105516 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e58cdfb326
commit
8c99b2ec18
@ -57,6 +57,8 @@ class MySQLDatabaseConfigurationHelper implements DatabaseConfigurationHelper {
|
|||||||
if(!$success) {
|
if(!$success) {
|
||||||
$error = "Your MySQL server version is $version. It's recommended you use at least MySQL 5.0.";
|
$error = "Your MySQL server version is $version. It's recommended you use at least MySQL 5.0.";
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
$error = "Could not determine your MySQL version.";
|
||||||
}
|
}
|
||||||
return array(
|
return array(
|
||||||
'success' => $success,
|
'success' => $success,
|
||||||
|
Loading…
Reference in New Issue
Block a user