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

Don't hardcode MySQL command names #275

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mrsdizzie
Copy link
Member

The compatibility links MariaDB provides for MySQL commands are deprecated and will be removed in the future. We should use the MariaDB command name if that is the current MySQL provider.

Fixes #271

(We still use mysql all over the place in wp-cli, but that isn't going away from MariaDB.)

The compatibility links MariaDB provides for MySQL commands are
deprecated and will be removed in the future. We should use the MariaDB
command name if that is the current MySQL provider.

Fixes wp-cli#271
@marcwieland95
Copy link

@mrsdizzie How am I able to test your fix? I get the same issue on wp db import or wp db export after updating to PHP 8.4 and new bundles on the server.

@mrsdizzie
Copy link
Member Author

@mrsdizzie How am I able to test your fix? I get the same issue on wp db import or wp db export after updating to PHP 8.4 and new bundles on the server.

This PR hasn't been merged yet so outside of checking out my personal branch here you'd need to wait until it gets reviewed and merged

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

Successfully merging this pull request may close these issues.

wp-cli returns FAIL notice when using mariadb symlinked mysql* commands; request for native mdb support
2 participants