From a56647bd89709ecdd6ca6854f253417a9187d28b Mon Sep 17 00:00:00 2001 From: kenjis Date: Tue, 26 Mar 2024 18:20:06 +0900 Subject: [PATCH] config: add charset and DBCollat for database.tests By default, tests is for SQLite3, and these values are different. --- env | 3 +++ 1 file changed, 3 insertions(+) diff --git a/env b/env index 050dd2783e1a..f359ec20bff2 100644 --- a/env +++ b/env @@ -38,12 +38,15 @@ # database.default.DBPrefix = # database.default.port = 3306 +# If you use MySQLi as tests, first update the values of Config\Database::$tests. # database.tests.hostname = localhost # database.tests.database = ci4_test # database.tests.username = root # database.tests.password = root # database.tests.DBDriver = MySQLi # database.tests.DBPrefix = +# database.tests.charset = utf8mb4 +# database.tests.DBCollat = utf8mb4_general_ci # database.tests.port = 3306 #--------------------------------------------------------------------