D:\laravel8\vendor\laravel\framework\src\Illuminate\Database\Connection.php:478
PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes")
2 D:\laravel8\vendor\laravel\framework\src\Illuminate\Database\Connection.php:478
PDOStatement::execute()
解决:
修改config/database.php
文件,将utf8mb4
替换成utf8