Current Path : /home/usr.opt/mysql57/mysql-test/suite/rpl_ndb/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/rpl_ndb/r/rpl_ndb_row_001.result |
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] CREATE TABLE t1 (word CHAR(20) NOT NULL); LOAD DATA INFILE 'LOAD_FILE' INTO TABLE t1; LOAD DATA INFILE 'LOAD_FILE' INTO TABLE t1; SELECT * FROM t1 ORDER BY word LIMIT 10; word Aarhus Aarhus Aarhus Aarhus Aaron Aaron Aaron Aaron Ababa Ababa STOP SLAVE; SET PASSWORD FOR root@"localhost" = 'foo'; START SLAVE; SET PASSWORD FOR root@"localhost" = ''; CREATE TABLE t3(n INT); INSERT INTO t3 VALUES(1),(2); SELECT * FROM t3 ORDER BY n; n 1 2 SELECT SUM(LENGTH(word)) FROM t1; SUM(LENGTH(word)) 1022 DROP TABLE t1,t3; CREATE TABLE t1 (n INT) ENGINE=NDB; RESET MASTER; STOP SLAVE; RESET SLAVE; SELECT COUNT(*) FROM t1; COUNT(*) 5000 RESET MASTER; LOCK TABLES t1 READ; START SLAVE; UNLOCK TABLES; SELECT COUNT(*) FROM t1; COUNT(*) 5000 DROP TABLE t1; CREATE TABLE t1 (n INT); INSERT INTO t1 VALUES(3456); SELECT n FROM t1; n 3456 DROP TABLE t1; # mysql.user table restored to original values. include/rpl_end.inc