打开 MySQL 5.7 Command Line Client, 输入您的密码,然后输入以下内容,重启VS尝试问题是否解决!
set global optimizer_switch='derived_merge=off';
set optimizer_switch='derived_merge=off';
select @@optimizer_switch;
select @@GLOBAL.optimizer_switch;
打开 MySQL 5.7 Command Line Client, 输入您的密码,然后输入以下内容,重启VS尝试问题是否解决!
set global optimizer_switch='derived_merge=off';
set optimizer_switch='derived_merge=off';
select @@optimizer_switch;
select @@GLOBAL.optimizer_switch;