Files
tldr/pages/common/doctl-databases-sql-mode.md
Kicka5h 7e3e0bdc1d doctl-databases-*: add page (#10882)
* 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>
2023-10-12 17:02:49 +05:30

17 lines
578 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# doctl databases sql-mode
> View and configure a MySQL database clusters 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 ...}}`