Label:MySQL Tutorial master-slave synchronization failed Last_io_error:got fatal Error 1236 from master workaround This error is encountered such as: "Last_io_error:got fatal error 1236 from master when reading data from binary log: ' Could not ' find First log fil e name in binary log index file ' "or due to clear dat
This article describes the master-slave synchronization configuration of mysql in detail, including the master-slave configuration in linux and windows and possible solutions.
This article describes the master-
This article mainly introduces the principle of MySQL master-slave synchronization. This article describes the master-slave synchronization overview, master-slave synchronization requir
Tags: clear debug MySQL master diff uniq Erro last required withUse one of the mysqlreplicate tools to quickly build a MySQL master-slave environment. he1:192.168.1.248 slave HE3:192.168.1.250
MySQL-master-slave replication bitsCN.com
MySQL replication is often used in the following environments:
1. avoid disaster through hot backup
2. generate reports
Using the slave server to generate reports can greatly reduce the load on the
Server multi-MySQL service setup and master-slave replication One, One_server multi-mysql service building "1" The first MySQL service build No introduction here, we think the first MySQL
I. Master-slave replication process of mysql:
The dump process in the master node reads binary files and has the replication client and replication slave permissions on the slave server's I/O threads.Read the binary file of the
| +--------------------+4 rows in Set (0.00 sec)Error handling:01, mysql> start slave;ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository Solution: Reset slave All clears all replication information from the new Setup
In the previous articles, the high-availability scheme for MySQL databases, master-slave replication, latency generation of master-slave replication, latency Detection and latency solutions (not fundamentally addressed), this master
:192.168.1.2
Master_user:slave_account
master_port:3306
connect_retry:60
master_log_file:mysql-bin.000009
read_master_log_pos:196
relay_log_file:vicky-relay-bin.000002
relay_log_pos:253
Relay_Master_Log _file:mysql-bin.000009
slave_io_running:yes
slave_sql_running:yes
replicate_do_db:
replicate_ignore_db: ...
...
Note: The slave_io_running and slave_sql_running processes must function correctly, that is, the Yes state, otherwise t
Tags: Linux OPS linux operations engineerThis paper mainly introduces the realization of MySQL master-slave copy function under the environment of single-database multi-instance.Basic Flow:1.MySQL Master-Slave Replication Introduc
First, the principle of reproduction
MySQL replication tracks all changes to the database (update, delete, and so on) based on the primary server in the binary log. Each receive from the server from the primary server has been logged to the saved update of the binary log so that the same update can be performed on its data copy from the server.
One way to copy the data from the primary server to the server is to use the load data from
Mysql replication, mysql master-slave Replication
I. Significance of Replication
Mysql replication is the foundation for building large-scale and high-performance MySql-based applications. We can configure one or more
Mysql is a master-slave problem-log synchronization data is not synchronized bitsCN.com
I set up mysql for master-slave replication.
The mysql environment of the two machines is identic
The Master/Slave node cannot be synchronized because the master disk is full. After the disk is added to the master node and the service is restored, the following error occurs:
Mysql> show slave status \ G;* *********************
Tags: mysql masterError message Slave_io_running:connecting Mysql> Show Slave Status\gSlave_IO_Running: Connecting
Slave_SQL_Running: YesHere is generally two Yes is correct, appears slave_io_running:connecting is from the configuration may have a problem.There are 3 main reasons that lead to lave_io_running as connecting:
Network does not pass
Wrong pas
The master-slave is the simplest single master-slave copy (i.e. a master and a slave, without any engine backup and multi-slave), the basic topology diagram of the
Tags: style blog http color io os ar using Strong The master-slave is the simplest single master-slave copy (i.e. a master and a slave, without any engine backup and multi-slave), th
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.