Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MySQL Query Browser Multiple Statements

Tags:

database

mysql

So, I'm using MySQL Query Browser to connect to a remote mysql server and trying to execute multiple statements. But it appears to only execute one statement at a time. For instance, it looks like the query browser is only executing a highlighted line and none of the other statements. Is there any way to execute all the statements in a tab?

like image 297
leepowers Avatar asked Nov 24 '09 23:11

leepowers


1 Answers

The default Resultset tabs only execute the statement the cursor is on.

To execute multiple statements at a time you need to use a Script tab. Select New Script Tab from the File menu. Note that you won't see the results of any queries in the Script tab.

like image 74
Phil Ross Avatar answered Sep 18 '22 02:09

Phil Ross