-
Notifications
You must be signed in to change notification settings - Fork 0
/
log_rr_after_promotion.txt
27 lines (21 loc) · 1 KB
/
log_rr_after_promotion.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[ec2-user@ip-10-1-10-142 ~]$ mysql -h secondary.cpj4w6ymvwlk.us-east-2.rds.amazonaws.com -u admin -p udacity
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 8.0.23 Source distribution
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MySQL [udacity]> insert into test (message) VALUES ("this is a test in the replica");
Query OK, 1 row affected (0.01 sec)
MySQL [udacity]> select * from test;
+---------+-------------------------------+
| test_id | message |
+---------+-------------------------------+
| 1 | this is a test |
| 2 | this is a test in the replica |
+---------+-------------------------------+
2 rows in set (0.00 sec)
MySQL [udacity]> exit
Bye
[ec2-user@ip-10-1-10-142 ~]$