0Tyler
/
nd063-c2-design-for-availability-resilience-reliability-replacement-project-starter-template
Public
forked from udacity/nd063-c2-design-for-availability-resilience-reliability-replacement-project-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
log_rr_before_promotion.txt
24 lines (20 loc) · 1.14 KB
/
log_rr_before_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
[ec2-user@ip-10-1-10-62 ~]$ mysql -h udacity-secondary.c5uhi9n1xgho.ap-southeast-1.rds.amazonaws.com -P 3306 -u admin -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MySQL connection id is 22
Server version: 8.0.20 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 [(none)]> use udacity
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MySQL [udacity]> INSERT INTO Persons (PersonID,LastName,FirstName,Address,City) VALUES(2,"Tyler","Lee","Address","Taipei");
ERROR 1290 (HY000): The MySQL server is running with the --read-only option so it cannot execute this statement
MySQL [udacity]> SELECT * FROM Persons;
+----------+----------+-----------+---------+--------+
| PersonID | LastName | FirstName | Address | City |
+----------+----------+-----------+---------+--------+
| 1 | Tyler | Lee | Address | Taipei |
+----------+----------+-----------+---------+--------+
1 row in set (0.00 sec)