29 lines
979 B
Plaintext
29 lines
979 B
Plaintext
include/master-slave.inc
|
||
Warnings:
|
||
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
|
||
Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
|
||
[connection master]
|
||
drop table if exists t1;
|
||
drop procedure if exists p1;
|
||
create table t1 (a varchar(255) character set sjis);
|
||
create procedure p1 (in a varchar(255) character set sjis) insert into t1 values (a);
|
||
SET NAMES binary;
|
||
CALL p1 ('–\\');
|
||
select "--- on master ---";
|
||
--- on master ---
|
||
--- on master ---
|
||
select hex(a) from t1 ;
|
||
hex(a)
|
||
965C
|
||
include/sync_slave_sql_with_master.inc
|
||
select "--- on slave ---";
|
||
--- on slave ---
|
||
--- on slave ---
|
||
select hex(a) from t1;
|
||
hex(a)
|
||
965C
|
||
drop table t1;
|
||
drop procedure p1;
|
||
include/sync_slave_sql_with_master.inc
|
||
include/rpl_end.inc
|