[Phpmyadmin-devel] How to execute a multi query?

Rouslan Placella rouslan at placella.com
Wed May 25 15:35:44 CEST 2011


Hi there,

I can't find anywhere a method for changing the delimiter for a query,
so that I can manipulate stored routines. For example, trying to
execute:

DELIMITER //
SELECT NOW()//

with PMA_DBI_query() fails with a syntax error, yet I can change the
delimiter in the SQL tab, in the input box below the textarea. But it
looks like the queries typed into the SQL tab are executed by
import.php.

I've been going crazy all morning trying to find a solution for this.
Thanks for any help that you may be able to offer me.

Rouslan





More information about the Developers mailing list