1First, go inside docker container, run below command
2docker exec -it mysql_container_name mysql -uroot -p
3where “root” is the username for MySQL database. After running above command it will ask you a password.
4
5Then Select Database, run below command
6USE Name-Of-The-Database
7
8get the list of all tables.
9show tables;