Multiple SQL query not working with delimiter on DBeaver

I can’t execute MySQL statement when using delimiter (default ‘;’). I mean, when I run query like:

select * from mdw.dim_date dd limit 10;
select * from mdw.dim_order do limit 5;

I’ve got such error:

SQL Error [1064] [42000]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘select * from mdw.dim_order do limit 5’ at line 2

I don’t want to execute this per Alt+X (I am using Dbeaver) as I want to put query into pentaho. I need to execute around 50 deletes, so I don’t want to divide it on 50 SQL scripts.

I am using MySQL (version: 5.6.36-82.0).


Problem solved. Don’t know what happened, but for now it’s OK. I guess that encoding could change (is there anything like encoding in Dbeaver?), I have no idea, however it’s working.