diff --git a/config/database.php b/config/database.php index 2941486..1d5da5e 100755 --- a/config/database.php +++ b/config/database.php @@ -34,7 +34,7 @@ return [ // 数据库连接参数 'params' => [], // 数据库编码默认采用utf8 - 'charset' => Env::get('database.charset', 'utf8'), + 'charset' => Env::get('database.charset', 'utf8mb4'), // 数据库表前缀 'prefix' => Env::get('database.prefix', 'bee_'),