hatim %!s(int64=6) %!d(string=hai) anos
pai
achega
056071a98f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      规范/运维/部署环境/mysql部署.md

+ 1 - 0
规范/运维/部署环境/mysql部署.md

@@ -152,6 +152,7 @@
    /etc/mysql/mysql.conf.d/mysqld.cnf
    分别在[mysqld]、[mysql]下加入
    sql_mode ='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'
+   # 发现好像只能在[mysqld]下加入
    ```
 
    **ONLY_FULL_GROUP_BY**: 对于GROUP BY聚合操作,如果在SELECT中的列,没有在GROUP