-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQLSTATE[42000]: Syntax error or access violation: 1071 #25
Labels
Comments
Hi @upeksha1996 you can try this solution it worked for me: Option 1: Add the following to your my.ini Config file, I did it on XAMPP Control Panel > Config > my.ini and look for the InnoDB options and place this code below, restart MySQL and Apache and it should work.
Option 2 Also you can try to update your app/Providers/AppServiceProvider.php
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table
world_cities
add indexuniq_city
(country_id
,division_id
,name
))This error occurred when php artisan world:init command is executed
The text was updated successfully, but these errors were encountered: