Home > Database > Mysql Tutorial > MySQL数据同步-复制

MySQL数据同步-复制

WBOY
Release: 2016-06-07 17:20:31
Original
884 people have browsed it

将服务器配置为主库,必要条件是该服务器有一个活动的二进制日志和唯一的服务器ID,这个二进制日志上保存了所有在主库上的数据改

将服务器配置为主库,必要条件是该服务器有一个活动的二进制日志和唯一的服务器ID,,这个二进制日志上保存了所有在主库上的数据改变,而服务器ID用于区分标识服务器。要创建二进制日志和服务器ID,需要先将服务器停止,然后配置my.cnf配置文件。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template