Commit 77b38e7ae5e726cf31a7083e3fa93763685856cb
1 parent
de7fb1ac
Exists in
sei-v3.0.0-oracle-dockerimages
and in
1 other branch
Configuração do sql-mode conforme produção TRF4
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
mysql/install.sh
... | ... | @@ -53,7 +53,7 @@ mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GR |
53 | 53 | |
54 | 54 | # Correção de problema com o registro de log de documentos contendo imagens |
55 | 55 | echo "max_allowed_packet=268435456" >> /etc/my.cnf |
56 | -echo "sql-mode=NO_ENGINE_SUBSTITUTION" >> /etc/my.cnf | |
56 | +echo "sql-mode=STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" >> /etc/my.cnf | |
57 | 57 | |
58 | 58 | yum clean -y all |
59 | 59 | ... | ... |