简体   繁体   中英

Create MySQL Workbench query plan image from command line / terminal

Is there a way to create MySQL Workbench query plan image from command line or terminal and save it as an image something like this?

在此处输入图片说明

I checked the MySQL Workbench documentation here, https://dev.mysql.com/doc/workbench/en/wb-command-line-options.html . But don't see any such option. So, is there a hack or even a separate tool to create this image? Any help on this would be greatly appreciated.

There is no such option in MySQL Workbench. The tool is a GUI application and as such not well suited for command line work. Maybe you can find a tool that can take the JSON output of EXPLAIN and builds a graphic from that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM