-
Notifications
You must be signed in to change notification settings - Fork 1
/
log_primary.txt
36 lines (29 loc) · 995 Bytes
/
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
[ec2-user@ip-10-1-10-39 ~]$ mysql -u admin -h database-1.cxtaqixmmad5.us-east-1.rds.amazonaws.com -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MySQL connection id is 27
Server version: 5.7.22-log 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
Database changed
MySQL [udacity]> CREATE TABLE sample_table (message CHAR(20));
Query OK, 0 rows affected (0.06 sec)
MySQL [udacity]> show tables;
+-------------------+
| Tables_in_udacity |
+-------------------+
| sample_table |
+-------------------+
1 row in set (0.00 sec)
MySQL [udacity]> INSERT INTO sample_table VALUES ('HELLO WORLD');
Query OK, 1 row affected (0.02 sec)
MySQL [udacity]> SELECT * FROM sample_table
-> ;
+-------------+
| message |
+-------------+
| HELLO WORLD |
+-------------+
1 row in set (0.00 sec)
MySQL [udacity]>