MySQL 版本 - RDS 上的 8.0.23 我正在将本地数据库复制到 AWS RDS MySQL 实例。但我收到此错误:
2021-11-11T22:43:09.091947Z 378 [ERROR] [MY-010584] [Repl] Slave I/O for channel '': error connecting to master 'replicator@localhost:3306' - retry-time: 60 retries: 1 message: Authentication plugin 'caching_sha2_password' reported error: Authentication requires secure connection. Error_code: MY-002061
Run Code Online (Sandbox Code Playgroud)
我的 RDS 从属状态:
*************************** 1. row ***************************
Slave_IO_State: Connecting to master
Master_Host: localhost
Master_User: replicator
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: DESKTOP-7DL3FOM-bin.000010
Read_Master_Log_Pos: 700
Relay_Log_File: relaylog.000001
Relay_Log_Pos: 4
Relay_Master_Log_File: DESKTOP-7DL3FOM-bin.000010
Slave_IO_Running: Connecting
Slave_SQL_Running: Yes
Replicate_Do_DB:
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table: …Run Code Online (Sandbox Code Playgroud)