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

Add mariadb-connector-c to cli images #902

Closed
wants to merge 3 commits into from

Conversation

ChrisWiegman
Copy link

@ChrisWiegman ChrisWiegman commented Jun 3, 2024

As per the issue @febsn brought up in #862, wp-cli will fail when using MySQL 8 without the mariadb-connector-c extension. The error message presented is the following:


mysqldump: Got error: 1045: "Plugin caching_sha2_password could not be loaded: Error loading shared library /usr/lib/mariadb/plugin/caching_sha2_password.so: No such file or directory" when trying to connect

This introduces the missing package and tests successfully with both MySQL and MariaDB.

@tianon
Copy link
Member

tianon commented Jun 4, 2024

Hmm, do we have some documentation somewhere that points to this as the "correct" fix? It seems like kind of a random package name that isn't even very well connected to the problem it solves. 😞

Also, I think if we're going to explicitly install this mariadb package, we should probably switch from the mysql-client metapackage to a mariadb explicit one.

@ChrisWiegman ChrisWiegman closed this by deleting the head repository Aug 2, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants