问题
I have just installed MySqlWorkbench
and I have found the implementation of INVISIBLE index
which is described here.
I want disable this feature because the version of MySql
which run on my server is older. So when I try to import the script I'll get an error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INVISIBLE,
is possible disable it? because at the moment I need to remove manually that keyword
回答1:
In MySQL Workbench:
Go to:
Edit > Preferences > Modeling > MySQL.
Then, set the "Default Target MySQL Version" to 5.7
Check the screenshot below:
来源:https://stackoverflow.com/questions/53434830/how-to-disable-invisible-index-option-in-mysqlworkbench