gpt4 book ai didi

mysql主从复制报错1045

转载 作者:行者123 更新时间:2023-11-29 01:03:29 25 4
gpt4 key购买 nike

*********************** 1. row ************************
Slave_IO_State: Connecting to master
Master_Host: x.x.x.x.
Master_User: slave
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.000001
Read_Master_Log_Pos: 2190425
Relay_Log_File: mysql-relay-bin.000002
Relay_Log_Pos: 4
Relay_Master_Log_File: mysql-bin.000001
Slave_IO_Running: No
Slave_SQL_Running: Yes
Replicate_Do_DB:
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 2190425
Relay_Log_Space: 106
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: NULL
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 1045
Last_IO_Error: error connecting to master 'slave@x.x.x.x:3306' - retry-time: 60 retries: 86400
Last_SQL_Errno: 0
Last_SQL_Error:

集合中的 1 行(0.00 秒)

错误:

No query specified

最佳答案

到处找同样的问题,结果发现当你的密码在 my.cnf 中时你也不能使用井号“#”。解决方法是将密码复制到您的 master.info 文件中。

关于mysql主从复制报错1045,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20971596/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com