Skip to content

lando pull does not work with MySQL 8 #122

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

Open
jds-tag opened this issue Mar 4, 2025 · 1 comment
Open

lando pull does not work with MySQL 8 #122

jds-tag opened this issue Mar 4, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@jds-tag
Copy link

jds-tag commented Mar 4, 2025

Related to lando/mysql#52 – when we run a lando pull when running MySQL 8 the DB isn't wiped. We have to do a manual import or destroy every time we want to update the DB.

@jds-tag jds-tag added the bug Something isn't working label Mar 4, 2025
@jds-tag
Copy link
Author

jds-tag commented Mar 5, 2025

If you need to workaround this a modification of lando/mysql#52 (comment) seems to work:

  pre-pull:
    # Fix MySQL 8 import issue (dropping DB with Drush).
    - appserver: echo "Dropping DB" && $LANDO_WEBROOT/../vendor/bin/drush sql:drop -y

You have to do pre-pull instead of pre-db-import bc we never get to pre-db-import

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant