Home > database >  MySQL Slave_IO_Running master-slave synchronization: No (a computer, both the MySQL service locally)
MySQL Slave_IO_Running master-slave synchronization: No (a computer, both the MySQL service locally)

Time:09-24

Mysql> Show slave status \ G;
* * * * * * * * * * * * * * * * * * * * * * * * * * * 1 row * * * * * * * * * * * * * * * * * * * * * * * * * * *
Slave_IO_State: Connecting to master
Master_Host: 127.0.0.1
Master_User: repl
Master_Port: 3306

60 Connect_Retry:Master_Log_File: 000019
the master - bin.Read_Master_Log_Pos: 98
Relay_Log_File: slave - relay - bin. 000001
Relay_Log_Pos: 98
Relay_Master_Log_File: 000019
the master - bin. 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: 98
Relay_Log_Space: 98
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
1 row in the set (0.00 SEC)

ERROR:
No query specified

CodePudding user response:

To view the error log is as follows:
190111 12:50:07 [ERROR] Slave I/O thread: ERROR connecting to the master '[email protected]:3306: ERROR:' Can 't connect to MySQL server on' 127.0.0.1 '(10061)' errno: 2003 retry - time: 60 retries: 86400
Big help! Genuflect is begged!!!!!

CodePudding user response:

You are a machine run two instances?

Check the MASTER instance is normal?
MASTER of repl user password has been changed?

CodePudding user response:

refer to the second floor daily necessities sauce vinegar 0 reply:
are you a machine run two instances?

Check the MASTER instance is normal?
MASTER of repl user password has been changed?
I am open two CMD open two mysql service, but not at the same time through the mysql -u root -p into service, first off only one into another, again a little bit of a problem, the method is searched on the net, no matter how useless is no display, I suspected to be connected and not into the mysql service at the same time, because is a local connection, so only 127.0.0.1.

CodePudding user response:

This should reach to have a look at just know, should be the machine is not supported by the network or permissions

CodePudding user response:

With two docker respectively by the MySQL server
  • Related