1071 Specified key was too long; max key length is 1000 bytes #1697
-
I have seen the same problem in other posts right here, but none of them solve my problem. I install the latest version of laravel.
I set .env file and then.
then:
And that's when I can't go on:
I use in my localhost wampp server: php 7.3.21 I try before to migrate, but it doesn't work either. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Answered in your other post: Summary: Use |
Beta Was this translation helpful? Give feedback.
-
Thanks, it worked for me. |
Beta Was this translation helpful? Give feedback.
Answered in your other post:
#1689 (comment)
Summary: Use
defaultStringLength(125)
if you're on MySQL 8.0. Or use MariaDB instead.