> show slave status\G;
Displays the following error
Last_IO_Error: error connecting to master ‘[email protected]:3307’ – Retry time: 60 Retry: 86400
I. Screening:
1. The username and password are correct
2. The port number of master is correct
3. Master authorization
# cat/data/mysql2/hostname. Err “to view the error log”
Slave I/O: ERROR connecting to master ‘[email protected]:3306’ – retry-time: 60 retry: 86400, Error_code: 2013
You don’t see anything. Error messages have no value.
Mysql – uslavelaowang – h192.168.32.133 – ppasswd
ERROR 2003 (HY000): Can’t connect to MySQL Server on ‘192.168.32.133’ (113)
# perror 113
OS Error code 113: No Route to host
【 Consider network reasons 】
# ping 192.168.32.133 [from the main ping] # Ping 192.168.32.132 [from the main ping] both have the return result, indicating network connection. Iptables -Fservice Iptables Save [Master Cleaning Firewall Rules]
Slave operation
# mysql – uslavelaowang h192.168.32.133 — ppasswd
ERROR 2003 (HY000): Can’t connect to MySQL Server on ‘192.168.32.133’ (111)
# perror 111
OS Error code 111: Connection union (union (union))
# mysql [Enter mysql under]
> slave stop;
> slave start;
> show slave status;
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Return two Yes’s
Reason: Iptalbes firewall rules are not cleared.
Read More:
- After the two hosts set up the master-slave replication of MySQL, the show slave status displays: last_ IO_ Error: error connecting to master ……
- The problem of [connection lost contact] after C # code connecting Oracle database for a period of time
- seaborn.load_ Data set error urlerror: < urlopen error [winerror 10060] the connection attempt failed because the connecting party did not reply correctly after a period of time or the connected host did not respond
- After switching the tidb database, an error could not commit JDBC transaction appears from time to time
- How to get the current time in java time string
- The time of the time database displayed by the front end is inconsistent
- A series of errors encountered in connecting to the database using Oracle SQL developer
- “503 Service Unavailable” error when connecting to vCenter Server using vSphere Web Client (2121043)
- MySQL master-slave replication. An error is reported when starting slave. Slave failed to initialize relay log info structure from the repository
- Nginx reports 502 error, log connect() failed (111: Connection refused) while connecting to upstream. A personal effective solution
- Running Django manager.py report errors Error:111 connecting to 127.0.0.1:6379.connection refused
- 2059 error in connecting to database by Navicat premium
- How to Fix Session is not Connecting (How to Diagnose it)
- 530 user cannot log in. Problem connecting to FTP server
- MongoDB:Failed: error connecting to db server: no reachable servers
- The problem of recipe terminated with error. Retry building the project. Occurs when vscode configures latex
- error: \*1035 connect() failed (111: Connection refused) while connecting to upstream, client…..
- When calling time module – time / datetime in wxPython, an error is reported. Valueerror: unknown locale: zh cn