From 8c99b2ec187ae8cb65e568f1ea2a83df7acf1865 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Tue, 25 May 2010 02:21:45 +0000 Subject: [PATCH] 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 --- dev/install/MySQLDatabaseConfigurationHelper.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/install/MySQLDatabaseConfigurationHelper.php b/dev/install/MySQLDatabaseConfigurationHelper.php index 25fbd31b1..2a343bfa3 100644 --- a/dev/install/MySQLDatabaseConfigurationHelper.php +++ b/dev/install/MySQLDatabaseConfigurationHelper.php @@ -57,6 +57,8 @@ class MySQLDatabaseConfigurationHelper implements DatabaseConfigurationHelper { if(!$success) { $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( 'success' => $success,