I duplicated a project with a vagrant box which installs Debian, Nginx, PhpMyAdmin, .. With the new project the Laravel\'s php artisan migrate is not working an
php artisan migrate
Three solutions, each with a drawback:
MySQL 5.7 avoids the problem. Consider upgrading.
VARCHAR(255) is usually var bigger than necessary. If you can safely shrink to 191 or less, the error will go away.
VARCHAR(255)
Switch to utf8 (from utf8mb4), if you don't need Chinese or Emoji.