summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2022-04-13 12:29:47 +0200
committerSimon Rettberg2022-04-13 12:29:47 +0200
commite542142227ff38b069ef4511a2e77b2c58f0dca8 (patch)
treee5ce8e5c7957928a23f0d1660346be068f04db2d
parent[SSPS] Move passthrough to etc/more section (diff)
downloadsetup-scripts-e542142227ff38b069ef4511a2e77b2c58f0dca8.tar.gz
setup-scripts-e542142227ff38b069ef4511a2e77b2c58f0dca8.tar.xz
setup-scripts-e542142227ff38b069ef4511a2e77b2c58f0dca8.zip
[SSPS] Explicitly set sql_mode for mariadb server
-rw-r--r--satellit_installer/static_files/system/etc/mysql/conf.d/99-openslx.cnf1
1 files changed, 1 insertions, 0 deletions
diff --git a/satellit_installer/static_files/system/etc/mysql/conf.d/99-openslx.cnf b/satellit_installer/static_files/system/etc/mysql/conf.d/99-openslx.cnf
index 35bf509..f4ff6f7 100644
--- a/satellit_installer/static_files/system/etc/mysql/conf.d/99-openslx.cnf
+++ b/satellit_installer/static_files/system/etc/mysql/conf.d/99-openslx.cnf
@@ -1,6 +1,7 @@
[mysqld]
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_520_ci
+sql_mode = STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
[client]
default-character-set = utf8mb4