From a3a266d32a27972c52e3239b72fa98659b3eb331 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 24 Mar 2022 16:06:21 +0100 Subject: [SSPS] slxadmin mysql force utf8mb4 --- .../static_files/slxadmin/srv/openslx/www/slx-admin/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/satellit_installer/static_files/slxadmin/srv/openslx/www/slx-admin/config.php b/satellit_installer/static_files/slxadmin/srv/openslx/www/slx-admin/config.php index a239fef..149041a 100644 --- a/satellit_installer/static_files/slxadmin/srv/openslx/www/slx-admin/config.php +++ b/satellit_installer/static_files/slxadmin/srv/openslx/www/slx-admin/config.php @@ -7,7 +7,7 @@ define('CONFIG_SESSION_DIR', '/tmp/openslx'); define('CONFIG_SESSION_TIMEOUT', 86400 * 3); // Put your mysql credentials here -define('CONFIG_SQL_DSN', 'mysql:dbname=openslx;host=localhost'); +define('CONFIG_SQL_DSN', 'mysql:dbname=openslx;host=localhost;charset=utf8mb4'); define('CONFIG_SQL_USER', 'openslx'); define('CONFIG_SQL_PASS', '%MYSQL_OPENSLX_PASS%'); // Set this to true if you mysql server doesn't default to UTF-8 on new connections -- cgit v1.2.3-55-g7522