mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 14:22:07 +02:00

* doctl-databases-*: add page --------- Co-authored-by: Reinhart Previano Koentjoro <reinhart_previano@yahoo.com> Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
16 lines
578 B
Markdown
16 lines
578 B
Markdown
# doctl databases sql-mode
|
|
|
|
> View and configure a MySQL database cluster’s global SQL modes.
|
|
> More information: <https://docs.digitalocean.com/reference/doctl/reference/databases/sql-mode/>.
|
|
|
|
- Run a `doctl databases sql-mode` command with an access token:
|
|
|
|
`doctl databases sql-mode {{command}} --access-token {{access_token}}`
|
|
|
|
- Get a MySQL database cluster's SQL modes:
|
|
|
|
`doctl databases sql-mode get {{database_id}}`
|
|
|
|
- Overwrite a MySQL database cluster's SQL modes to the specified modes:
|
|
|
|
`doctl databases sql-mode set {{database_id}} {{sql_mode_1 sql_mode_2 ...}}`
|