spring과 JPA를 사용하여 만든 서버 애플리케이션을 빌드하고 실행 했을 때 mysql client 프로그램을 통해 어떻게 데이터베이스에 저장된 데이터를 볼 수 있을까?
mysql> create database strcat;
Query OK, 1 row affected (0.04 sec)
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| strcat |
| sys |
+--------------------+
5 rows in set (0.05 sec)
mysql> use strcat;
Database changed
mysql> select database();
+------------+
| database() |
+------------+
| strcat |
+------------+
1 row in set (0.00 sec)
mysql> show tables;
+------------------+
| Tables_in_strcat |
+------------------+
| oauth_user |
| user |
+------------------+
2 rows in set (0.04 sec)
mysql> select * from user;
+----------------------------+----+
| created_at | id |
+----------------------------+----+
| 2023-11-13 02:16:17.505851 | 1 |
+----------------------------+----+
1 row in set (0.01 sec)