1$ docker exec -it mysql-db mysql -p
2...
3mysql> create database demo;
4Query OK, 1 row affected (0.32 sec)
5
6mysql> show databases;
7+--------------------+
8| Database |
9+--------------------+
10| demo |
11| information_schema |
12| mysql |
13| performance_schema |
14| sys |
15+--------------------+
165 rows in set (0.00 sec)
17
18mysql>
19