Skip to content
代码片段 群组 项目
提交 ef38d583 编辑于 作者: Marcel Amirault's avatar Marcel Amirault
浏览文件

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

Clarifying user name

See merge request gitlab-org/gitlab!60867
No related branches found
No related tags found
无相关合并请求
...@@ -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
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册