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 docker-entrypoint.sh mysqld Exit 2 #1478
Comments
i have change mysql version to 5.7 and try buy invalid |
Laradock commit 0c41fce |
Attaching to laradock_mysql_1 |
Ok so note on this if you are upgrading your fork of laradock from pre 6.0 then don't set the mysql version to latest as this will try to pull down the GA release which is on V5 of mysql. Before laradock 6.0 that mysql version was set to 8.0 which is the current development version so if you then try to set it to latest it tries to downgrade your mysql version to 5 and will give you this error. |
@shadow2004 |
Try setting your mysql version to 8.0.0/8.0.1/8.0.2/8.0.3/8.0.4 and rebuild mysql container. So basically if you did build your DB with an 8.0 build then one of those version numbers will be the correct one. |
I also encountered this problem. I rebuild mysql container , and I delete the "~/.laradock/data/mysql" directory , and I:
It works. |
Ye that is another option if you don't care about the data in the database. Now if you do care about the data but want to go back onto the latest release, v5. Then you will want to dump all your data into a SQL file then delete the mysql folder in the docker data. Then up the mysql container which will create a new database for then, then the last thing is to re-import your data from the SQL dump. |
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. |
Hi again 👋 we would like to inform you that this issue has been automatically |
It's sovled my problem. Thank you ! |
Info:
$ docker --version
):Client:
Version: 18.03.0-ce
API version: 1.37
Go version: go1.9.4
Git commit: 0520e24
Built: Wed Mar 21 23:06:22 2018
OS/Arch: darwin/amd64
Experimental: false
Orchestrator: swarm
Server:
Engine:
Version: 18.03.0-ce
API version: 1.37 (minimum version 1.12)
Go version: go1.9.4
Git commit: 0520e24
Built: Wed Mar 21 23:14:32 2018
OS/Arch: linux/amd64
Experimental: true
$ git rev-parse HEAD
):Issue:
Expected behavior:
Reproduce:
The text was updated successfully, but these errors were encountered: