# doctl databases sql-mode – DigitalOcean Documentation > The subcommands of `doctl databases sql-mode` are used to view and configure a MySQL database cluster's global SQL modes. Global SQL modes affect the SQL syntax MySQL supports and the data validation checks it performs. - [doctl databases sql-mode get](https://docs.digitalocean.com/reference/doctl/reference/databases/sql-mode/get/index.html.md): Displays the configured SQL modes for the specified MySQL database cluster. - [doctl databases sql-mode set](https://docs.digitalocean.com/reference/doctl/reference/databases/sql-mode/set/index.html.md): This command configures the SQL modes for the specified MySQL database cluster. The SQL modes should be provided as a space separated list. This command replaces the existing SQL mode configuration completely. Include all of the current values when adding …