Home >Database >Mysql Tutorial >Windows mysql 双向同步设置方法 详细篇_MySQL

Windows mysql 双向同步设置方法 详细篇_MySQL

WBOY
WBOYOriginal
2016-06-01 13:20:581021browse

bitsCN.com

1.1         环境搭建

准备两台Windows NT 主机,分别安装好iKEY Server windows 版本,确定版本无误,确保mysql服务正常启动,确保两台主机处于同一个局域网中,确定好哪台做为主、备机器,假设A为主机,B为备机,假设A主机IP地址为:192.168.1.101,B主机IP地址为192.168.1.102

1.2         创建同步帐户

分别在A、B节点上登陆mysql 数据库,创建同步帐户并赋予同步权限,如下:

A节点操作:

运行cmd, cd进入iKEY版本安装目录下的iKEY/mysql/bin下,然后执行mysql

Statement:
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