We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd21ff2 commit 68f25ddCopy full SHA for 68f25dd
content/blog/how-to-set-up-mysql-using-docker.md
@@ -89,7 +89,7 @@ You can exit MySQL server by `EXIT;`.
89
90
### Persisting Data
91
92
-To persist your MySQL data beyond the container lifecycle, use a volume:
+To persist your MySQL data beyond the container lifecycle, use a volume when creating the container:
93
94
```bash
95
docker run --name mysql-container -e MYSQL_ROOT_PASSWORD=your_password -p 3306:3306 -v mysql-data:/var/lib/mysql -d mysql:8.0
0 commit comments