Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: I cannot connect to a MySQL account that uses caching_sha2_password authentication Version-Release number of selected component (if applicable): opendbx-1.4.6-38.el8.x86_64 opendbx-mysql-1.4.6-38.el8.x86_64 opendbx-utils-1.4.6-38.el8.x86_64 How reproducible: Install opendbx and opendbx-mysql and try to connect to a database account in MySQL, that is configured using caching_sha2_password Steps to Reproduce: 1. Create a database account with caching_sha2_password 2. Use odbx-sql to connect with to a database with that account Actual results: Nothing, the command seems to be hanging. Expected results: Getting a sql> prompt Additional info: Switching the database account back to mysql_native_password makes it connect successfully.
This is on the MySQL Reference Manual (https://dev.mysql.com/doc/refman/8.4/en/native-pluggable-authentication.html) The mysql_native_password authentication plugin is deprecated as of MySQL 8.0.34, disabled by default in MySQL 8.4, and removed as of MySQL 9.0.0. MySQL 9+ will not be able to use opendbx-mysql anymore.