There was an error while loading. Please reload this page.
Find the container id for mysql docker ps
docker ps
Exec into container docker exec -it <mysql-container-id> bash
docker exec -it <mysql-container-id> bash
Access database mysql -u root -p Enter root on password prompt
mysql -u root -p
From here all tables and databases can be accessed
Find the container id and name for mongoDB docker ps
Exec into container docker exec -it <mongo-container-name> bash
docker exec -it <mongo-container-name> bash
Access database mongo show dbs use stackbox
mongo
show dbs
use stackbox
We can access the collections(tables) and its contents from here.