执行时php手工迁移错误
照明\数据库\查询异常:SQL STATE42000:语法错误或访问冲突: 1253排序规则'utf8_unicode_ci‘对字符集'utf8 8mb4’无效(SQL: select * from information_schema.tables,其中table_schema =仓储和table_name =迁移)
发布于 2019-04-29 05:39:26
您需要修改以下更改,
转到config > database.php
'connections' => [
....
'mysql' => [
......
'charset' => 'utf8mb4', // Update here : 'utf8'
'collation' => 'utf8mb4_unicode_ci', // Update here : utf8_unicode_ci https://stackoverflow.com/questions/55889917
复制相似问题