Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  rpl_change_master.result   Sprache: Lisp

 

include/master-slave.inc
[connection master]
call mtr.add_suppression("Slave I/O: The slave I/O thread stops because a fatal error is encountered when it tried to SET @master_binlog_checksum");
connection master;
create table t1(n int);
connection slave;
select * from t1;
n
stop slave sql_thread;
connection master;
insert into t1 values(1);
insert into t1 values(2);
connection slave;
include/wait_for_slave_param.inc [Read_Master_Log_Pos]
include/stop_slave.inc
change master to master_user='root';
start slave;
select * from t1;
n
1
2
connection master;
drop table t1;
connection slave;
connection master;
CHANGE MASTER TO MASTER_USER='root', MASTER_SSL=0, MASTER_SSL_CA='', MASTER_SSL_CERT='',
MASTER_SSL_KEY='', MASTER_SSL_CRL='', MASTER_SSL_CRLPATH='';
CHANGE MASTER TO MASTER_USER='root', MASTER_PASSWORD='', MASTER_SSL=0;
#
# MDEV-15327 Reset Master_Server_Id on CHANGE MASTER and RESET SLAVE
#
connection slave;
include/assert.inc [Master_Server_Id should be non-zero after replication setup]
include/stop_slave.inc
change master to master_user='root';
include/assert.inc [Master_Server_Id should be 0 after CHANGE MASTER]
include/start_slave.inc
connection master;
create table t1 (a int);
connection slave;
include/assert.inc [Master_Server_Id should be non-zero after reconnection]
include/stop_slave.inc
reset slave;
include/assert.inc [Master_Server_Id should be 0 after RESET SLAVE]
include/start_slave.inc
connection master;
insert into t1 values (1);
connection slave;
include/assert.inc [Master_Server_Id should be non-zero after reconnection following RESET SLAVE]
connection master;
drop table t1;
connection slave;
include/rpl_end.inc

Messung
CHZG
100100100100

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,254
#Domains=933,774