Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISPConfig
ISPConfig 3
Commits
f0b1c622
Commit
f0b1c622
authored
Jan 28, 2017
by
Florian Schaal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #4061 clarified sql-check during install / updates
parent
45c429e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
install/lib/installer_base.lib.php
install/lib/installer_base.lib.php
+1
-1
install/lib/update.lib.php
install/lib/update.lib.php
+1
-1
No files found.
install/lib/installer_base.lib.php
View file @
f0b1c622
...
...
@@ -229,7 +229,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 your mysql-config and restart mysqld afterwards
\n
"
;
echo
"to the mysqld-section in your mysql-config
on this server
and restart mysqld afterwards
\n
"
;
die
();
}
...
...
install/lib/update.lib.php
View file @
f0b1c622
...
...
@@ -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 your mysql-config and restart mysqld afterwards
\n
"
;
echo
"to the mysqld-section in your mysql-config
on this server
and restart mysqld afterwards
\n
"
;
die
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment