I'm getting this error while trying to execute query in MySQL database:
SQL Error (1231): Variable 'optimizer_switch' can't be set to the value of 'derived_merge=OFF'
Query:
use <dbname>;
set global optimizer_switch='derived_merge=off';
I want to execute query to solve other issue I have that I'm getting while updating the edmx and I got that query from answer here.
I'm using: MySQL: 5.6.26, EF: 6.1.4