diff --git a/content/en/docs/attaching-a-database/_index.md b/content/en/docs/attaching-a-database/_index.md
index d5c773b0..47b74280 100644
--- a/content/en/docs/attaching-a-database/_index.md
+++ b/content/en/docs/attaching-a-database/_index.md
@@ -489,7 +489,7 @@ As mentioned in {{}}, remember to append the command wit
{{% onlyWhenNot openshift %}}
```bash
-kubectl exec -it mariadb-f845ccdb7-hf2x5 --namespace -- /bin/bash
+kubectl exec -it deployments/mariadb --namespace -- /bin/bash
```
{{% /onlyWhenNot %}}