changed output for Wrong SQL-mode
| | |
| | | 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(); |
| | | } |
| | | |
| | |
| | | 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(); |
| | | } |
| | | |