From ba5c874c74f8d73c80744a0be4ace525a04a659b Mon Sep 17 00:00:00 2001 From: "HESU\\HESU" <1696136552@qq.com> Date: Tue, 1 Apr 2025 17:32:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BC=96=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/database.php b/config/database.php index d3b3e6c..2f9b1ec 100644 --- a/config/database.php +++ b/config/database.php @@ -13,8 +13,8 @@ return [ 'username' => getenv('DB_USER'), 'password' => getenv('DB_PASSWORD'), 'unix_socket' => '', - 'charset' => 'utf8', - 'collation' => 'utf8_unicode_ci', + 'charset' => 'utf8mb4', + 'collation' => 'utf8mb4_general_ci', 'prefix' => '', 'strict' => true, 'engine' => null,