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

MySQL DB Import #2270

Closed
prezire opened this issue Sep 9, 2019 · 4 comments
Closed

MySQL DB Import #2270

prezire opened this issue Sep 9, 2019 · 4 comments
Labels

Comments

@prezire
Copy link

prezire commented Sep 9, 2019

Info:

  • Docker version ($ docker --version): Docker version 18.09.6, build 481bc77
  • Laradock commit ($ git rev-parse HEAD): 871a9d0
  • System info (Mac, PC, Linux): Linux
  • System info disto/version: Ubuntu 18.04 LTS

Issue:

I've placed these items to either [mysql] or [mysqld] section of my.conf file, and rebuilt the container by running docker-compose build mysql, however I'm still unable to import .sql files greater than 300MB:

max_allowed_packet=500M
upload_max_filesize=2G
innodb_log_file_size=100M
wait_timeout=1800
net_read_timeout=1800
@cwilby
Copy link

cwilby commented Sep 20, 2019

Is my.cnf being copied to the container?

# shell into the mysql container
$ docker-compose exec mysql sh

# list where mysql looks for cnf file
$ mysql --help | grep /my.cnf | xargs

@stale
Copy link

stale bot commented Feb 7, 2020

Hi 👋 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 ❤️.

@stale stale bot added the Stale label Feb 7, 2020
@stale
Copy link

stale bot commented Feb 28, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 28, 2020
@namnguyen2091
Copy link

Rebuild container and docker-compose up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants