update 07_multi_container.md: add -u root to mysql

user login didnt work, so it's needed to specify user: root:secret.
docker exec -it <mysql-container-id> mysql -u root -p
This commit is contained in:
Victor Moraes
2021-03-15 12:29:29 -03:00
committed by GitHub
parent 863af0c4b6
commit 98f5a4e761

View File

@@ -74,7 +74,7 @@ For now, we will create the network first and attach the MySQL container at star
3. To confirm we have the database up and running, connect to the database and verify it connects.
```bash
docker exec -it <mysql-container-id> mysql -p
docker exec -it <mysql-container-id> mysql -u root -p
```
When the password prompt comes up, type in **secret**. In the MySQL shell, list the databases and verify