简体   繁体   中英

Interactive command line from within MySQL workbench

I've been writing and running queries from within MySQL workbench's SQL Query Panel. However, sometimes I need to run a one-off command (eg adding indices) that I don't want to save.

Right now, I write it in the query file, run, then delete from the file. Can I open a command line within MySQL workbench to run these one-off commands? If not, is it okay if I open another database connection from my OS terminal alongside my MySQL workbench connection?

新查询

Click the first item in the toolbar. The "SQL" with the "+" sign. You'll get a new query tab. If you don't want to save the new query, just don't click the Save icon. Close the tab when you're done.

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