美文网首页
which is not functionally depend

which is not functionally depend

作者: JackSpeed | 来源:发表于2019-10-12 16:52 被阅读0次

    查看sqm_mode

    use mysql;
    show variables like "%sql_mode%";
    
    ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
    

    vi  /etc/my.cnf
    

    在[mysqld]下面新增配置

    sql_mode ='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'
    

    相关文章

      网友评论

          本文标题:which is not functionally depend

          本文链接:https://www.haomeiwen.com/subject/rzlcuctx.html