Skip to content

Instantly share code, notes, and snippets.

@rg3915
Last active February 22, 2019 15:03
Show Gist options
  • Save rg3915/29aa25ac66b17a766e387878650b5b0f to your computer and use it in GitHub Desktop.
Save rg3915/29aa25ac66b17a766e387878650b5b0f to your computer and use it in GitHub Desktop.
Configurando SET GLOBAL no MySQL - config date 0000-00-00

Configurando SET GLOBAL no MySQL

Edite

sudo vim /etc/mysql/conf.d/

[mysql]
SET GLOBAL sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';

MYSQL config 0000-00-00 date format and

Group by

ONLY_FULL_GROUP_BY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment