From b4ed40000962268d019c88a3adef3237dd8097d3 Mon Sep 17 00:00:00 2001 From: Florian Schaal Date: Thu, 26 May 2016 02:26:37 -0400 Subject: [PATCH] changed output for Wrong SQL-mode --- install/lib/installer_base.lib.php | 2 +- install/lib/update.lib.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index 63ddb09468..37980d520a 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -224,7 +224,7 @@ class installer_base { if ($check_sql_mode['@@sql_mode'] != '' && $check_sql_mode['@@sql_mode'] != 'NO_ENGINE_SUBSTITUTION') { echo "Wrong SQL-mode. You should use NO_ENGINE_SUBSTITUTION. Add\n\n"; echo " sql-mode=\"NO_ENGINE_SUBSTITUTION\"\n\n"; - echo"to the mysqld-section in /etc/mysql/my.cnf and restart mysqld afterwards\n"; + echo"to the mysqld-section in your mysql-config and restart mysqld afterwards\n"; die(); } diff --git a/install/lib/update.lib.php b/install/lib/update.lib.php index a6bb42d2d4..6408c18022 100644 --- a/install/lib/update.lib.php +++ b/install/lib/update.lib.php @@ -128,7 +128,7 @@ function updateDbAndIni() { if ($check_sql_mode['@@sql_mode'] != '' && $check_sql_mode['@@sql_mode'] != 'NO_ENGINE_SUBSTITUTION') { echo "Wrong SQL-mode. You should use NO_ENGINE_SUBSTITUTION. Add\n\n"; echo " sql-mode=\"NO_ENGINE_SUBSTITUTION\"\n\n"; - echo"to the mysqld-section in /etc/mysql/my.cnf and restart mysqld afterwards\n"; + echo"to the mysqld-section in your mysql-config and restart mysqld afterwards\n"; die(); } -- GitLab