SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8mb4_unicode_ci' is not valid for CHARACTER SET 'binary'

SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8mb4_unicode_ci' is not valid for CHARACTER SET 'binary'

 

 

对数据表更改,然后执行数据迁移命令php artisan migrate,之后报错如下:

  

 

 

 解决办法:

 

 参考:https://www.hellojava.com/a/68286.html

posted @ 2019-10-31 15:56  许嵩的迷妹  阅读(3206)  评论(0编辑  收藏  举报