Description
Currently, ml-metadata
can't be used with most MySQL 8.0 databases out of the box, this is because in MySQL 8.0, the default-authentication-plugin
was changed from mysql_native_password
to caching_sha2_password
for significant security reasons.
There have been a number of issues related to this over the past few years:
We even have an error message that suggests people use the less secure mysql_native_password
:
ml-metadata/ml_metadata/metadata_store/mysql_metadata_source.cc
Lines 173 to 181 in 2d7a260
As the adoption of MySQL 8.0 increases, and we hit the EOL of MySQL 5.7 in October 2023, this issue is going to affect more and more people.
I strongly suggest we plan to upgrade our MySQL client to one which properly supports MySQL 8.0.