I am working with a container that pulls the latest bitnami/mysql image. The container has a database user. A Wordpress container connects to this MySQL container. But the Wordpress container does not use SHA2 authentication, and so gets an error on connection.
I know there are different possible solutions to this problem, but I am trying to change the database user account to use mysql_native_password authentication.
I connect to the MySQL container as Root and use the syntax: ALTER USER 'bn_wordpress'@'localhost' IDENTIFIED WITH mysql_native_password. But it gives an error: ERROR 1396 (HY000): Operation ALTER USER failed.
What am I doing wrong?
I know there are different possible solutions to this problem, but I am trying to change the database user account to use mysql_native_password authentication.
I connect to the MySQL container as Root and use the syntax: ALTER USER 'bn_wordpress'@'localhost' IDENTIFIED WITH mysql_native_password. But it gives an error: ERROR 1396 (HY000): Operation ALTER USER failed.
What am I doing wrong?