SELECT VERSION();
select @@GLOBAL.sql_mode;
SET @@global.sql_mode = (select replace(replace(@@GLOBAL.sql_mode,"STRICT_TRANS_TABLES,",""),",NO_ZERO_IN_DATE",""));
select @@sql_mode;
SET sql_mode = (select replace(replace(@@sql_mode,"STRICT_TRANS_TABLES,",""),",NO_ZERO_IN_DATE",""));
– 参考脚本SELECT VERSION();
select @@GLOBAL.sql_mode;
SET @@global.sql_mode ='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
select @@sql_mode;
SET sql_mode ='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
Reference:
htt
ps://blog.csdn.net/u011414736/article/details/125676859
你是否还在寻找稳定的海外服务器提供商?创新互联www.cdcxhl.cn海外机房具备T级流量清洗系统配攻击溯源,准确流量调度确保服务器高可用性,企业级服务器适合批量采购,新人活动首月15元起,快前往官网查看详情吧
售后响应及时
7×24小时客服热线数据备份
更安全、更高效、更稳定价格公道精准
项目经理精准报价不弄虚作假合作无风险
重合同讲信誉,无效全额退款