Add mysql schema to MySQL Workbench?

|▌冷眼眸甩不掉的悲伤 提交于 2020-03-21 06:44:05

问题


If this is a super basic question I apologize; I'm still trying to grok MySQL and my options on interfacing with it.

I'm wondering if I'm able to add the mysql schema to MySQL Workbench? I can see and access it via PhpMyAdmin and the command line. I'm also able to query a mysql table (user, for example) from Workbench itself.

I'm mostly just curious if I can add it to the schema section in the lower left hand side of Workbench. I'm using version 6.3.

Thanks for your time and suggestions!

Edit: To better clarify, I'm just wondering if I can view the schema in Workbench like I can in PhpMyAdmin.


回答1:


MySQL Workbench by default hides system tables (that is PERFORMANCE_SCHEMA, INFORMATION_SCHEMA and mysql). In the preferences (SQL Editor -> Show Metadata and Internal Schemas) you can enable them. After a restart of Workbench you will get them in the schema tree.




回答2:


You can not have phpmyadmin and workbench synchronized. What you could do is to work on a site, and then export the schema



来源:https://stackoverflow.com/questions/43707241/add-mysql-schema-to-mysql-workbench

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