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
/
Copy pathlog_primary.txt
42 lines (34 loc) · 1.29 KB
/
log_primary.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[ec2-user@ip-10-1-11-147 ~]$ mysql -h udacity-db.cpczxbdvpmya.us-east-1.rds.amazonaws.com -D udacity -u admin -p
Enter password:
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 37
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 [udacity]> show tables;
+-------------------+
| Tables_in_udacity |
+-------------------+
| books |
+-------------------+
1 row in set (0.00 sec)
MySQL [udacity]> select * from books;
+------+-----------+--------+
| id | name | author |
+------+-----------+--------+
| 1 | Some Book | HQ |
+------+-----------+--------+
1 row in set (0.00 sec)
MySQL [udacity]> INSERT INTO books (id,name,author) VALUES(1,"Another Book","HQ");
Query OK, 1 row affected (0.01 sec)
MySQL [udacity]> select * from books;
+------+--------------+--------+
| id | name | author |
+------+--------------+--------+
| 1 | Some Book | HQ |
| 1 | Another Book | HQ |
+------+--------------+--------+
2 rows in set (0.00 sec)
MySQL [udacity]>