17.1.1 How to Set Up Replication 设置复制:
17.1.1 How to Set Up Replication 设置复制: 17.1.1.1 Setting the Replication Master Configuration
17.1.1.2 Setting the Replication Slave Configuration
17.1.1.3 Creating a User for Replication
17.1.1.4 Obtaining the Replication Master Binary Log Coordinates
17.1.1.5 Creating a Data Snapshot Using mysqldump
17.1.1.6 Creating a Data Snapshot Using Raw Data Files
17.1.1.7 Setting Up Replication with New Master and Slaves
17.1.1.8 Setting Up Replication with Existing Data
17.1.1.9 Introducing Additional Slaves to an Existing Replication Environment
17.1.1.10 Setting the Master Configuration on the Slave 这个章节描述如何设置完整的MySQL server 复制,有大量的不同方法用于设置复制,确切的方法使用取决于你如何设置复制, 是否你已经有数据在你的master database. 有一些通用的任务 用于所有的复制设置: 1.在master上,你必须启用binary log 和配置一个唯一的server ID.这个需要server 重启 2.在每个slave 你需要连接到master,你必须配置一个唯一的unique server ID.这个可能需要server重启 3.可选的,创建一个单独的用户用于你的slave 使用和master 认证的时候当读取binary log 用于复制 4.在创建一个数据库快照或者开始复制之前,你需要记录master上binary log的位置。 你需要这些信息当你配置slave 这样slave知道 binary log 的什么位置开始执行events 5.如果你已经有数据在你的master 上,你需要使用它同步你的slave, 你需要创建一个数据快照。 这里有不用的方式来创建数据库快照,取决于数据库的大小和文件的位置。 创建一个快照使用mysqldump 6. 配置slave设置用于连接到master,比如hostname,登录认证,binary log 文件名字和位置 在配置基础后,选择你的方案: 1. 设置复制用于一个新鲜的安装 没有数据 2. 建立一个新的Mastr复制使用已经存在的数据 3.增加复制slaves 到一个存在的复制环境
17.1.1 How to Set Up Replication 设置复制:的更多相关文章
- 17.1.1.7 Setting Up Replication with New Master and Slaves 设置复制使用新的master和slaves:
17.1.1.7 Setting Up Replication with New Master and Slaves 设置复制使用新的master和slaves: 最简单和最直接方式是设置复制使用新的 ...
- 17.1.1.1 Setting the Replication Master Configuration 设置复制的master 配置:
17.1.1.1 Setting the Replication Master Configuration 设置复制的master 配置: 在一个复制master,你必须启用binary loggin ...
- 17.1 Replication Configuration 复制配置
17.1 Replication Configuration 复制配置 17.1.1 How to Set Up Replication 17.1.2 Replication Formats 17.1 ...
- 17.1.2?Replication Formats 复制格式:
17.1.2?Replication Formats 复制格式: 17.1.2.1 Advantages and Disadvantages of Statement-Based and Row-Ba ...
- 17.2?Replication Implementation 复制实施:
17.2?Replication Implementation 复制实施: 17.2.1 Replication Implementation Details 17.2.2 Replication R ...
- 17.1.1.8?Setting Up Replication with Existing Data设置复制使用存在的数据
17.1.1.8?Setting Up Replication with Existing Data设置复制使用存在的数据 当设置复制使用存在的数据,你需要确定如何最好的从master 得到数据到sl ...
- 17.1.1.7 Setting Up Replication with New Master and Slaves 设置复制对于新的Master和Slaves:
17.1.1.7 Setting Up Replication with New Master and Slaves 设置复制对于新的Master和Slaves: 最简单和最直接的方法是设置复制用于使 ...
- 17.1.1 How to Set Up Replication
17.1.1 How to Set Up Replication 17.1.1.1 Setting the Replication Master Configuration 17.1.1.2 Sett ...
- 17.1 Replication Configuration 复制:
17.1 Replication Configuration 复制: 17.1.1 How to Set Up Replication 17.1.2 Replication Formats 17.1. ...
随机推荐
- mysqldump: unknown option '--no-beep'
想要备份mysql数据库时,输入mysqldump命令出现如题所示的错误,在网上找了好久,终于从一个帖子上得到了一些提示,就动手试了下,嘿 还真成了!! mysqldump --no-default ...
- Webservice学习之——即时发布与定制发布
一.工具 myEclipse tomcat 6.0 以上版本 axis-bin-1_4.zip 二.即时发布 1.解压 axis-bin-1_4.zip 2.axis-bin-1_4.zip\axi ...
- UIView的frame和bounds区别
UIView的frame和bounds区别 iOS中,大家肯定对view和frame都不陌生,我们设置view在父view中的位置和大小时,只需要设置frame就可以了. 可能大家也有查过网上的一些资 ...
- $.extend(),与$.fn.extend() 讲解
$.extend(),与$.fn.extend() 讲解(一) (2013-07-11 10:24:31) 转载▼ 转自:http://blog.sina.com.cn/s/blog_a3bd3bd0 ...
- mysql error笔记1
mysql视图问题: The user specified as a definer ('root'@'%') does not exist 原因:由于root用户对全局host无访问权限,给root ...
- HDU 4708 Rotation Lock Puzzle(模拟)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4708 题目大意:给定一个方形矩阵,边长为3-10的奇数.每一圈的数字可以沿着顺时针方向和逆时针方向旋转 ...
- 263. Ugly Number(C++)
263. Ugly Number Write a program to check whether a given number is an ugly number. Ugly numbers are ...
- linux管理网络连接指令
ethtool eth0 查看 eth0对应网卡的设置 ethtool -i eth0 查看 eth0网卡的驱动信息 ethtool -S eth0 查看网卡的统计信息 ethtool -s eth ...
- (转)所有iOS设备的屏幕分辨率
Phone: iPhone 1G 320x480 iPhone 3G 320x480 iPhone 3GS 320x480 iPhone 640x960 iPhone 4S 640x960 iPhon ...
- 【转】JSON简介以及用法代码汇总
什么是JSON? JavaScript 对象表示法(JavaScript Object Notation). JSON是一种轻量级的数据交换格式,某个JSON格式的文件内部譬如可以长成这样: { &q ...