Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e7955418
Commit
e7955418
authored
Dec 01, 2001
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use $MASTER_PORT
parent
615693d2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
15 deletions
+9
-15
mysql-test/r/rpl000014.result
mysql-test/r/rpl000014.result
+4
-4
mysql-test/r/rpl000015.result
mysql-test/r/rpl000015.result
+4
-4
mysql-test/t/rpl000014.test
mysql-test/t/rpl000014.test
+1
-4
mysql-test/t/rpl000015.test
mysql-test/t/rpl000015.test
+0
-3
No files found.
mysql-test/r/rpl000014.result
View file @
e7955418
...
...
@@ -8,21 +8,21 @@ File Position Binlog_do_db Binlog_ignore_db
master-bin.001 79
show slave status;
Master_Host Master_User Master_Port Connect_retry Log_File Pos Slave_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Last_log_seq
127.0.0.1 root
9999
1 master-bin.001 79 Yes 0 0 1
127.0.0.1 root
$MASTER_MYPORT
1 master-bin.001 79 Yes 0 0 1
change master to master_log_pos=73;
slave stop;
change master to master_log_pos=73;
show slave status;
Master_Host Master_User Master_Port Connect_retry Log_File Pos Slave_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Last_log_seq
127.0.0.1 root
9999
1 master-bin.001 73 No 0 0 1
127.0.0.1 root
$MASTER_MYPORT
1 master-bin.001 73 No 0 0 1
slave start;
show slave status;
Master_Host Master_User Master_Port Connect_retry Log_File Pos Slave_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Last_log_seq
127.0.0.1 root
9999
1 master-bin.001 73 Yes 0 0 1
127.0.0.1 root
$MASTER_MYPORT
1 master-bin.001 73 Yes 0 0 1
change master to master_log_pos=173;
show slave status;
Master_Host Master_User Master_Port Connect_retry Log_File Pos Slave_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Last_log_seq
127.0.0.1 root
9999
1 master-bin.001 173 Yes 0 0 1
127.0.0.1 root
$MASTER_MYPORT
1 master-bin.001 173 Yes 0 0 1
show master status;
File Position Binlog_do_db Binlog_ignore_db
master-bin.001 79
...
...
mysql-test/r/rpl000015.result
View file @
e7955418
...
...
@@ -9,16 +9,16 @@ Master_Host Master_User Master_Port Connect_retry Log_File Pos Slave_Running Rep
change master to master_host='127.0.0.1';
show slave status;
Master_Host Master_User Master_Port Connect_retry Log_File Pos Slave_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Last_log_seq
127.0.0.1 test
9998
60 4 No 0 0 0
127.0.0.1 test
3306
60 4 No 0 0 0
change master to master_host='127.0.0.1',master_user='root',
master_password='',master_port=
$MASTER_MYPORT
;
master_password='',master_port=
9306
;
show slave status;
Master_Host Master_User Master_Port Connect_retry Log_File Pos Slave_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Last_log_seq
127.0.0.1 root 9
999
60 4 No 0 0 0
127.0.0.1 root 9
306
60 4 No 0 0 0
slave start;
show slave status;
Master_Host Master_User Master_Port Connect_retry Log_File Pos Slave_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Last_log_seq
127.0.0.1 root 9
999
60 master-bin.001 79 Yes 0 0 1
127.0.0.1 root 9
306
60 master-bin.001 79 Yes 0 0 1
drop table if exists t1;
create table t1 (n int);
insert into t1 values (10),(45),(90);
...
...
mysql-test/t/rpl000014.test
View file @
e7955418
eval_result
;
source
include
/
master
-
slave
.
inc
;
connection
master
;
show
master
status
;
save_master_pos
;
connection
slave
;
sync_with_master
;
--
replace_result
9306
9999
3334
9999
3335
9999
show
slave
status
;
change
master
to
master_log_pos
=
73
;
slave
stop
;
change
master
to
master_log_pos
=
73
;
--
replace_result
9306
9999
3334
9999
3335
9999
show
slave
status
;
slave
start
;
--
replace_result
9306
9999
3334
9999
3335
9999
show
slave
status
;
change
master
to
master_log_pos
=
173
;
--
replace_result
9306
9999
3334
9999
3335
9999
show
slave
status
;
connection
master
;
show
master
status
;
...
...
mysql-test/t/rpl000015.test
View file @
e7955418
...
...
@@ -9,15 +9,12 @@ connection slave;
reset
slave
;
show
slave
status
;
change
master
to
master_host
=
'127.0.0.1'
;
--
replace_result
3306
9998
9306
9999
3334
9999
3335
9999
show
slave
status
;
eval
change
master
to
master_host
=
'127.0.0.1'
,
master_user
=
'root'
,
master_password
=
''
,
master_port
=
$MASTER_MYPORT
;
--
replace_result
9306
9999
3334
9999
3335
9999
show
slave
status
;
slave
start
;
sync_with_master
;
--
replace_result
9306
9999
3334
9999
3335
9999
show
slave
status
;
connection
master
;
drop
table
if
exists
t1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment