How to disable INVISIBLE index option in MySqlWorkbench?

大憨熊 提交于 2021-01-28 03:11:23

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!