Mysql Master/Slave的配置
来源:互联网 发布:云帆搜索软件 编辑:程序博客网 时间:2024/04/28 03:15
MYSQL数据同步备份
A服务器: 192.168.18.112 主服务器master
B服务器: 192.168.18.113 副服务器slave
A服务器设置
#mysql –u root –p
上面是Master开放一个账号test 密码111111 给IP:192.168.18.113 有档案处理的权限
设定/etc/my.cnf
在[mysqld]区段内加入参数
重启A服务器mysql
B服务器设置
#mysql –u root –p
设定/etc/my.cnf
在[mysqld]区段加入
在[mysql]区段加入
重启B服务器的MYSQL
#mysql –u root –p
>show slavestatus\G (查看复制状态,状态信息中Slave_IO_Running和Slave_SQL_Running应该都是yes)
change master to Master_Log_File='mysql-bin.000001',Master_Log_Pos=106;
- Mysql Master/Slave的配置
- mysql master slave 配置
- MySQL配置Master-Slave
- mysql master slave 配置
- mysql master slave 配置
- MYSQL的master/slave数据同步配置
- MYSQL的master/slave数据同步配置
- MySQL的Master/Slave数据同步配置
- MySQL的Master-Slave复制配置步骤
- MySQL的Master-Slave复制配置步骤
- Mysql-Master与Slave配置
- MySQL Master Slave Replication配置
- Mysql配置master-slave模式
- MySQL Master Slave同步配置
- MySQL Master Slave同步配置
- mysql 主从配置(master/slave)
- mysql配置master/slave模式
- MySQL-(Master-Slave)配置
- 使用pssh批量管理服务器
- 使用remote_listener实现数据库与监听器分离 | HelloDML
- Redis详细介绍
- javascript正则表达式
- 1->n MPI_Scatter MPI_Bcast
- Mysql Master/Slave的配置
- 源码安装mysql
- ArcGIS API for Silverlight 学习笔记
- [jQuery一点一滴]jQuery简介
- VS2003编译OGRE error C2065: '__in' : undeclared identifier 解决
- group by 、 having 、 order by
- stagefright框架(五)-Video Rendering
- 在Apache中整合JSP和PHP
- hashset hashmap hashtable arraylist vector 区别