update README.md to show how to driectly go to the mysql prompt within the mysql container (#592)

This commit is contained in:
Craig Iannazzi 2017-02-07 20:50:07 -05:00 committed by Bo-Yi Wu
parent ffdb35dc6a
commit e8bb2b29fd
1 changed files with 6 additions and 0 deletions

View File

@ -534,6 +534,12 @@ docker-compose exec {container-name} bash
docker-compose exec mysql bash docker-compose exec mysql bash
``` ```
*Example: enter to mysql prompt within MySQL container*
```bash
docker-compose exec mysql mysql -u homestead -psecret
```
3 - To exit a container, type `exit`. 3 - To exit a container, type `exit`.