summaryrefslogtreecommitdiff
path: root/doc/ci/services/mysql.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ci/services/mysql.md')
-rw-r--r--doc/ci/services/mysql.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/ci/services/mysql.md b/doc/ci/services/mysql.md
index 44bc613e6f7..c66d77122b2 100644
--- a/doc/ci/services/mysql.md
+++ b/doc/ci/services/mysql.md
@@ -24,12 +24,15 @@ variables:
And then configure your application to use the database, for example:
```yaml
-Host: localhost
+Host: mysql
User: root
Password: mysql_strong_password
Database: el_duderino
```
+If you are wondering why we used `mysql` for the `Host`, read more at
+[How is service linked to the build](../docker/using_docker_images.md#how-is-service-linked-to-the-build).
+
You can also use any other docker image available on [Docker Hub][hub-mysql].
For example, to use MySQL 5.5 the service becomes `mysql:5.5`.