摘要:
centos6.5:/root/test#cat a1.pl use JSON qw/encode_json decode_json/; use Encode;my $data = [ { 'name' => '科比', 'age' => ... 阅读全文
摘要:
jrhapt01:/home/tomcat/test> cat a2.pl my $str="$ARGV[0]";use Encode;use URI::Escape; use LWP::Simple; $str =~ s/\\u([0-9a-fA-F]{4})/pack("U",,hex(... 阅读全文
摘要:
[root@dr-mysql01 ~]# cat a1.pl my $str="$ARGV[0]";use Encode; use Encode::CN; use JSON; use URI::Escape; use LWP::Simple; $str =~ s/\\u([0-9a-... 阅读全文
摘要:
17.2.2.1 The Slave Relay Log Slave中继日志中继日志, 像binary log,有一组文件组成包含events 描述数据库的修改,和一个index文件包含所有使用过的relay log文件的名字术语"relay log file"通常表示一个但都数字文件包含数据... 阅读全文
摘要:
17.2.2 Replication Relay and Status Logs 复制Relay 和状态日志;17.2.2.1 The Slave Relay Log17.2.2.2 Slave Status Logs在复制过程中,一个slave server 创建几个logs 持有binar... 阅读全文
摘要:
17.2 Replication Implementation复制是基于master server 跟踪所有改变到他的数据库(更新,删除等等)在它的binary log.binary log 作为些所有事件修改数据的结构或者内容从server 开始启动典型的,SELECT 语句是不被记录的因为它... 阅读全文
摘要:
17.1.4 Replication and Binary Logging Options and Variables 复制和Binary logging 选项和变量下面的章节包含信息关于mysqld选项和server 变量 用于复制和用于控制binary log.选项和变量对于使用复制Mas... 阅读全文
摘要:
17.1.2.1 Advantages and Disadvantages of Statement-Based and Row-Based Replication 基于语句和行的复制的优势和劣势每个binary logging格式有优势和劣势,对于很多用户, mixed replicatio... 阅读全文
摘要:
17.1.2 Replication Formats复制格式17.1.2.1 Advantages and Disadvantages of Statement-Based and Row-Based Replication17.1.2.2 Usage of Row-Based Logging ... 阅读全文
摘要:
17.1.1.7 Setting Up Replication with New Master and Slaves 设置复制使用新的master和slaves:最简单和最直接方式是设置复制使用新的master和slaves servers:你也可以使用这个方法如果你是设置新的servers 但... 阅读全文