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 authored and GitHub committed 2021-03-15 12:29:29 -03:00
1 parent 863af0c4b6
commit 98f5a4e761
1 file changed
+1 -1
+1 -1
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