abingpj
2 weeks ago
105
4
General

Specified key was too long; max key length is 767 bytes

Posted 2 weeks ago by abingpj

Hi,

I am trying to use php artisan make:auth. But I am having this issue.

Specified key was too long; max key length is 767 bytes

[Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter tabl e users add unique users_email_unique(email))

[PDOException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

Please sign in or create an account to participate in this conversation.