update README.md to show how to driectly go to the mysql prompt within the mysql container (#592)
This commit is contained in:
parent
ffdb35dc6a
commit
e8bb2b29fd
|
@ -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`.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue