我正在将应用程序迁移到另一台服务器,它返回给我错误:
Server sent charset unknown to the client. Please, report to the developers
我瘦这是关于charset或集合但是在mysql工作台中它告诉我我的数据库设置是这样的:
default collaction: utf8_general_ci
default charset: utf8
我把它放在我的配置文件中,清理缓存但错误连续。
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'collation' => 'utf8_general_ci',
'prefix' => '',
'strict' => false,
'engine' => null,
],