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
SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8mb4_unicode_ci' is not valid for CHARACTER SET 'binary'
原文地址:https://www.cnblogs.com/honeyJYY/p/11771713.html
时间: 2024-11-10 09:10:20