Florian Schaal
2016-05-26 b4ed40000962268d019c88a3adef3237dd8097d3
changed output for Wrong SQL-mode
2 files modified
4 ■■■■ changed files
install/lib/installer_base.lib.php 2 ●●● patch | view | raw | blame | history
install/lib/update.lib.php 2 ●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php
@@ -224,7 +224,7 @@
        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();
        }
install/lib/update.lib.php
@@ -128,7 +128,7 @@
    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();
    }