Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document that enable_functions is support on update for MySQL databases #2420

Merged
merged 2 commits into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ https://www.congress.gov/bill/.*
https://www.pivotaltracker.com/story/show/.*
otherapp.hostname.gov
anotherapp.hostname.com
https://github.com/cloud-gov/internal-docs/.*

# URLs with no known replacements
https://fugacious.18f.gov/
Expand Down
12 changes: 10 additions & 2 deletions _docs/services/relational-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ There are several optional parameters that you can specify when creating a new i
Name | Description | Default Value |
--- | --- | --- |
`storage` | Number of GB available to the database instance | 10 |
`enable_functions` | Boolean to enable functions on supported databases | false |
`enable_functions` | Boolean to enable functions, procedures, and triggers on MySQL databases | false |
`version` | Specifies a supported major version in RDS (must be in quotes) | PostgreSQL: `15`, MySQL `8.0` |
`backup_retention_period` | Specifies a number of days to retain daily snapshots. | 14 |
`binary_log_format` | Specifies the format for [MySQL binary logging](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.MySQL.BinaryFormat.html). **Only supported for MySQL database plans**. Valid options: `ROW`, `STATEMENT`, `MIXED`. | --- |
Expand Down Expand Up @@ -145,7 +145,7 @@ cf create-service aws-rds \
-c '{"storage": 50}'
```

To enable functions in MySQL instances:
To enable functions, triggers, and procedures in MySQL instances:

```sh
cf create-service aws-rds \
Expand Down Expand Up @@ -251,6 +251,7 @@ Name | Description |
`backup_retention_period` | Specifies a number of days to retain daily snapshots. |
`binary_log_format` | Specifies the format for [MySQL binary logging](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.MySQL.BinaryFormat.html). **Only supported for MySQL database plans**. Valid options: `ROW`, `STATEMENT`, `MIXED`. |
`enable_pg_cron` | Boolean to enable [`pg_cron` extension on PostgreSQL databases](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/PostgreSQL_pg_cron.html) (requires PostgreSQL 12.5 and above) | false |
`enable_functions` | Boolean to enable functions, procedures, and triggers on MySQL databases | false |

#### Examples of optional parameters

Expand All @@ -262,6 +263,13 @@ cf update-service ${SERVICE_NAME} -c '{"storage": 50}'

Note that you can only update to a larger size. If you want to downgrade to a lesser size, please email [support][support] for assistance.

To enable functions, triggers, and procedures for a MySQL instance:

```sh
cf update-service ${SERVICE_NAME} \
-c '{"enable_functions": true}'
```

To update the binary log format for a MySQL instance:

```sh
Expand Down
Loading