Commit ef38d583 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'sselhorn-master-patch-46504' into 'master'

Clarifying user name

See merge request gitlab-org/gitlab!60867
parents d6c77d04 da1c3825
...@@ -14,6 +14,8 @@ need it for your tests to run. ...@@ -14,6 +14,8 @@ need it for your tests to run.
If you want to use a MySQL container, you can use [GitLab Runner](../runners/README.md) with the Docker executor. If you want to use a MySQL container, you can use [GitLab Runner](../runners/README.md) with the Docker executor.
This example shows you how to set a username and password that GitLab uses to access the MySQL container. If you do not set a username and password, you must use `root`.
1. [Create CI/CD variables](../variables/README.md#custom-cicd-variables) for your 1. [Create CI/CD variables](../variables/README.md#custom-cicd-variables) for your
MySQL database and password by going to **Settings > CI/CD**, expanding **Variables**, MySQL database and password by going to **Settings > CI/CD**, expanding **Variables**,
and clicking **Add Variable**. and clicking **Add Variable**.
...@@ -54,6 +56,9 @@ If you want to use a MySQL container, you can use [GitLab Runner](../runners/REA ...@@ -54,6 +56,9 @@ If you want to use a MySQL container, you can use [GitLab Runner](../runners/REA
Database: <your_mysql_database> Database: <your_mysql_database>
``` ```
In this example, the user is `runner`. You should use a user that has permission to
access your database.
## Use MySQL with the Shell executor ## Use MySQL with the Shell executor
You can also use MySQL on manually-configured servers that use You can also use MySQL on manually-configured servers that use
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment