my $sth = $dbh->prepare("DELIMITER //"); $sth->execute(); exit; #### DBD::mysql::st execute failed: 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 'DELIMITER //' at line 1 at /root/test.pl line 22, line 8. #### root@vagrant:~# perl -MDBI -e 'DBI->installed_versions' Perl : 5.010001 (i486-linux-gnu-thread-multi) OS : linux (2.6.32-5-686) DBI : 1.612 DBD::mysql : 4.016 DBD::Sponge : 12.010002 DBD::Proxy : 0.2004 DBD::Gofer : 0.014123 DBD::File : 0.39 DBD::ExampleP : 12.010007 DBD::DBM : 0.05