-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
laradock_mysql_1 exited with code 1 #1138
Comments
What you have in your DATA_SAVE_PATH variable in .env file? |
@luciano-jr I do not think there is a problem with this configuration before I upgraded Laradock |
My upgrade reference: http: //laradock.io/documentation/#upgradinging-laradock |
same problem here. If I install latest laradock and leave everything default it runs but it does not create any database...
if I change anything in the .env file (e.g. version from 8.0 to 5.7) and rebuild I get the same as @medz |
I think, should give a 5.7 change mysql to 8.0 after a remedy. |
I have the same problem with a fresh laradock version when i switch mysql to 5.7. |
ok for me the problem was old databases from existing projects... I changed DATA_SAVE_PATH in the .env file from
to
for this specific project and now everything works... It seems like when you "up" mysql container it loads all the databases from all the projects and if you have some mysql 5.6 databases it fails because of breaking changes in mysql 5.7 (more strict rules...) |
thank sasokovacic. I delete .laradock/data and now it's ok. |
I had the same problem. Same fix as @sasokovacic suggested, but the key in .env file now is DATA_PATH_HOST |
Confirming here. Same issue. I run different projects with their own laradock. The laradock folder name for each project is different and the COMPOSE_PROJECT_NAME variable too, but still it fails if some projects use mysql 5.5 and others 5.7. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
In my case, i crash to mariadb data in Ref: https://devhoi.com/threads/laradock-on-mac-error-unknown-unsupported-storage-engine-innodb.28/ |
Info:
$ docker --version
): 17.06.2-ce$ git rev-parse HEAD
): 655b9a1Issue:
Such as title
Expected behavior:
Reproduce:
I don't know.
Relevant Code:
The text was updated successfully, but these errors were encountered: