Interactive command line from MySQL Workbench

I write and run queries from the SQL Workbench MySQL Workbench toolbar. However, sometimes I need to run a one-time command (for example, adding indexes), which I do not want to save.

Now I write it in the request file, run it, and then delete it from the file. Can I open a command prompt in MySQL Workbench to run these one-time commands? If not, isn't it if I open another database connection from my OS terminal next to my MySQL connection to Workbench?

+4
source share
1 answer

New query

Select the first item on the toolbar. "SQL" with a "+" sign. A new query tab will appear. If you don’t want to save the new request, just don’t click the “Save” icon. Close the tab when done.

+2
source

Source: https://habr.com/ru/post/1547628/


All Articles