Skip to content
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

Fix migration erreur #21

Closed
wants to merge 1 commit into from
Closed

Conversation

Tchoupinax
Copy link

Hello,

I just try to start your project but i met an issue when i launched the migrating script.

In Connection.php line 664:

  SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table password_resets
   add index password_resets_email_index(email))

In Connection.php line 458:

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

I followed this answer fix the problem and it feels to be good now. Migrations worked with success and application is available.

Thank for your work. :)

@bestmomo
Copy link
Owner

bestmomo commented Mar 8, 2018

Ok, better to use MySQL 5.7 to avoid any issue.

@Tchoupinax
Copy link
Author

Hello,

Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1

Maybe, but now your project works with MySQL 5.7 and MariaDB.
Open world is amazing. :)

Have a nice day.

@Tchoupinax Tchoupinax closed this Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants