laravel5.4 artisan migrate 42000和42S01错误解决办法

来源:互联网 发布:淘宝手机描述图片尺寸 编辑:程序博客网 时间:2024/06/06 13:11

修改 config/database.php

'charset' => 'utf8mb4','collation' => 'utf8mb4_unicode_ci',
改为
'charset' => 'utf8','collation' => 'utf8_unicode_ci',

然后再php artisan migrate就可以了







阅读全文
0 0