Trying to setup a replication process between two MySQL Server 8.4.1 servers using a replication user with 'caching_sha2_password' I received the following error using the command "start replica USER='replicationuser' PASSWORD='****' DEFAULT_AUTH='caching_sha2_password" to start the replication process:
Authentication plugin 'caching_sha2_password' reported error: Authentication requires secure connection.
I have temporarily resolve this issue by setting up both MySQL servers to support 'mysql_native_password'. However, this is not the best solution since 'mysql_native_password' is deprecated and not supported in next MySQL Server versions.
Does anyone have set up a secure connection in a replication process using 'caching_sha2_password'?
I tried to setup a replication process with a user authentication 'caching_sha2_password' without success because a secure connection is required.