views:

181

answers:

2

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?

+4  A: 

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.

Phil Ross