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
你是否還在尋找穩(wěn)定的海外服務器提供商?創(chuàng)新互聯(lián)www.cdcxhl.cn海外機房具備T級流量清洗系統(tǒng)配攻擊溯源,準確流量調度確保服務器高可用性,企業(yè)級服務器適合批量采購,新人活動首月15元起,快前往官網(wǎng)查看詳情吧