Skip to content
Snippets Groups Projects
Commit 616deee31b2c authored by DJ Mountney's avatar DJ Mountney
Browse files

Merge branch 'bprescott/docs/20210912-dbconsole' into 'master'

rails dbconsole requires --database from 14.2

See merge request gitlab-org/omnibus-gitlab!5598
No related branches found
No related tags found
2 merge requests!60Heptapod 0.28 is the new stable,!56Heptapod 0.28 / GitLab 14.5
...@@ -145,4 +145,6 @@ ...@@ -145,4 +145,6 @@
To determine whether SSL is being used by clients, you can run: To determine whether SSL is being used by clients, you can run:
In [GitLab 14.2 and later](https://gitlab.com/gitlab-org/gitlab/-/issues/341210):
```shell ```shell
...@@ -148,5 +150,11 @@ ...@@ -148,5 +150,11 @@
```shell ```shell
gitlab-rails dbconsole sudo gitlab-rails dbconsole --database main
```
In GitLab 14.1 and earlier:
```shell
sudo gitlab-rails dbconsole
``` ```
At startup, you should see a banner as the following: At startup, you should see a banner as the following:
...@@ -603,6 +611,14 @@ ...@@ -603,6 +611,14 @@
default Omnibus GitLab database configuration, you can connect as the default Omnibus GitLab database configuration, you can connect as the
application user: application user:
In [GitLab 14.2 and later](https://gitlab.com/gitlab-org/gitlab/-/issues/341210):
```shell
sudo gitlab-rails dbconsole --database main
```
In GitLab 14.1 and earlier:
```shell ```shell
sudo gitlab-rails dbconsole sudo gitlab-rails dbconsole
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment