필자는 CLI 환경에서 MySQL을 사용하였습니다
show database;
use 데이터베이스_이름; (예 : use cat_app)
select database();
show tables;