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

Can't start mysql container --initialize specified but the data directory has files in it. Aborting #1578

Closed
ducxinh opened this issue May 29, 2018 · 2 comments

Comments

@ducxinh
Copy link

ducxinh commented May 29, 2018

Can't start mysql container --initialize specified but the data directory has files in it. Aborting

@ducxinh ducxinh changed the title Can't start mysql container Can't start mysql container --initialize specified but the data directory has files in it. Aborting. May 29, 2018
@bestlong
Copy link
Member

if your mysql db can delete and .env DATA_PATH_HOST=~/.laradock/data
then rm ~/.laradock/data/mysql

@bestlong
Copy link
Member

@ducxinh-dn-2083199001091997201644783
why not use docker for mac?

you set config

    volumes:
        - mysql:/var/lib/mysql

it's use docker data volume, not host os file system.

@ducxinh ducxinh changed the title Can't start mysql container --initialize specified but the data directory has files in it. Aborting. close Jun 11, 2018
@ducxinh ducxinh closed this as completed Jun 11, 2018
@ducxinh ducxinh changed the title close Can't start mysql container --initialize specified but the data directory has files in it. Aborting Oct 29, 2023
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

No branches or pull requests

2 participants