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

[backend] mysql 8.0 support (upstream ml-metadata issue) #9549

Open
thesuperzapper opened this issue Jun 1, 2023 · 11 comments
Open

[backend] mysql 8.0 support (upstream ml-metadata issue) #9549

thesuperzapper opened this issue Jun 1, 2023 · 11 comments

Comments

@thesuperzapper
Copy link
Member

While we updated our clients for MySQL 8.0 in #8351, we still depend on google/ml-metadata, which does not fully support MySQL 8.0. In MySQL 8.0, the default-authentication-plugin was changed from mysql_native_password to caching_sha2_password, but ml-metadata does not support caching_sha2_password auth:

Furthermore, we are running a very old version of ml-metadata, specifically version 1.5.0 from 2021, but 1.13.1 exists, as raised here: #5439 (comment)


Impacted by this bug? Give it a 👍.

@zijianjoy
Copy link
Collaborator

We are hoping to be able to upgrade MLMD when its next minor version is available (1.14.0)

@davidspek
Copy link
Contributor

@zijianjoy Just wanted to ping you since v1.14.0 has now been released.

@davidspek
Copy link
Contributor

It looks like this was implemented in #9856, but that hasn't made it into a pipelines release yet.

@thesuperzapper
Copy link
Member Author

@chensun just want to confirm if this important fix will be in the Kubeflow 1.8 version of Kubeflow Pipelines?

@chensun
Copy link
Member

chensun commented Sep 21, 2023

@chensun just want to confirm if this important fix will be in the Kubeflow 1.8 version of Kubeflow Pipelines?

#9856 is not included in any KFP release yet, so it won't be in Kubeflow 1.8 either.

@nithin8702
Copy link

We have upgraded mysql db from 5 to 8 and now its causing issue related to mlmd authentication plugin. i think kfp uses mysql_native_password type whereas mlmd requires caching_sha2_password. could anyone please how to overcome this? Is it possible to change mlmd to kfp like mysql_native_password ?

google/ml-metadata#178
#9549

@chensun @thesuperzapper

@papagala
Copy link
Contributor

papagala commented Feb 8, 2024

I'm confused by these two things at the same time, from the title of this issue

  • we still depend on google/ml-metadata, which does not fully support MySQL 8.0. In MySQL 8.0, the default-authentication-plugin was changed from mysql_native_password to caching_sha2_password, but ml-metadata does not support caching_sha2_password auth from @thesuperzapper
  • i think kfp uses mysql_native_password type whereas mlmd requires caching_sha2_password @nithin8702

I don't think they can both be true at the same time 🙃

Any help would be appreciated 😄

Copy link

github-actions bot commented Apr 9, 2024

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.

@github-actions github-actions bot added the lifecycle/stale The issue / pull request is stale, any activities remove this label. label Apr 9, 2024
@thesuperzapper
Copy link
Member Author

This is absolutely critical, and should not be closed until it's resolved.

/lifecycle frozen

@google-oss-prow google-oss-prow bot added lifecycle/frozen and removed lifecycle/stale The issue / pull request is stale, any activities remove this label. labels Apr 9, 2024
@nithin8702
Copy link

Any solution for this issue?

@thesuperzapper
Copy link
Member Author

@nithin8702 you can continue to use mysql_native_password for your Kubeflow Pipelines user on your MySQL 8 database.

You just need to specify mysql_native_password when creating the user, as MySQL 8.0.4+ will use caching_sha2_password by default, which is not supported by Kubeflow Pipelines (specifically ml-metadata google/ml-metadata#178):

CREATE USER 'kubeflow'@'%' IDENTIFIED WITH mysql_native_password BY 'MY_PASSWORD';

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

No branches or pull requests

6 participants