-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
Install using MySQL causes exception #18
Comments
I pushed a fix yesterday on the dev branch (commit e7156d0) for a key length issue with older versions of MySQL. If you are confortable with git you can checkout the dev branch and try to migrate again. It's a key issue in both cases, maybe the change will fix your issue too. What version of MySQL do you use? I will try to reproduce your issue on my side. |
I'm using the latest stable MySQL, version 8.0.22. I just tried it with the dev branch and still get the same exception. |
Thanks for the feedback, I was able to reproduce the issue, even with MySQL v5.7.* I fixed all the issues I found with migrations, you can pull latest commits on your dev branch if you want to try again otherwise I will publish a new release tomorrow. |
I have installed 5.7.32 - MySQL Community Server (GPL) but still facing the same error.
|
Did you run the migration from the |
oh, didn't see that. trying it right now. |
Wait, I just released v2.0.1 on the master branch. Just |
Perfect, it works now, thanks! |
Describe the bug
When telling 2FAuth to use MySQL as database, an exception occurs while running
php artisan migrate:refresh
:To Reproduce
Steps to reproduce the behavior:
php artisan migrate:refresh
Expected behavior
Command should complete successfully (it does when using SQLite backend).
Server:
The text was updated successfully, but these errors were encountered: