Skip to content

Commit

Permalink
docs: Add small hint about oracle sqlplus
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Knorr <[email protected]>
  • Loading branch information
juliusknorr committed Oct 28, 2024
1 parent d29f8ad commit cecb01c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/services/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ By default, MySQL will be used as database backend. You can change this by setti
- `sqlite`
- `mariadb-replica`
- `maxscale`
- `oci`

Changing the database env value will require to recreate your setup. You can do this by running `docker compose down -v` and then `docker compose up -d nextcloud`.

All databases use the following credentials by default:
All databases use the following credentials by default (except oracle):

- Root password: `nextcloud`
- Username: `nextcloud`
Expand Down Expand Up @@ -72,3 +73,11 @@ docker compose exec database-mariadb-replica mysql -u root -pnextcloud
This mode runs a mariadb primary and read replica setup with maxscale as load balancer. The primary is used for writes and the replica for reads where MaxScale is used to perform a read-write-split.

The logs of MaxScale can be accessed with `docker compose exec maxscale cat /var/log/maxscale/maxscale.log`.

### Oracle

You can access the database with the following command:

```bash
docker compose exec -ti database-oci sqlplus system/oracle
```

0 comments on commit cecb01c

Please sign in to comment.