Column Input Greyed out in MySQL Workbench

半城伤御伤魂 提交于 2019-12-07 00:55:35

问题


I am using MySQL Workbench 6 CE to create some tables for a new schema I made.

When I create the new table, the application displays a tab which allows me to edit the table name (by default, the name is new_table), select the schema default, and add a comment for the table (though doing that seems to generate syntax errors in the generated SQL).

What it does not do is allow me to specify or configure any of the columns for the table. There is an entire column section that is completely greyed out.

I am logged in as root and root has all privileges for this schema.

Have I found a bug, or is there something special I need to do in order to allow column specification in a table???

Someone please advise...

UPDATE: Adding screenshot as requested...


回答1:


When you started creating a new table you can simply add columns by double clicking the empty placeholder row:




回答2:


Click on the encircled double arrow

You will now be able to edit columns. Click on any column name, grey area will become editable now.




回答3:


I have had the same prb in MySQL Worbench 6.3.6. Here is the link to the solution. Or just drag down your Output Panel in short !

http://bugs.mysql.com/bug.php?id=79281




回答4:


You have to checked any key to enable the column name. please check PK,NN, UQ, B etc then column are ready to edit.



来源:https://stackoverflow.com/questions/22671278/column-input-greyed-out-in-mysql-workbench

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