Creating MYSQL Procedure in Laravel 4 Migrations
There are two major problems with your code DELIMITER is not a valid sql statement. It’s just a MySql client command. So just don’t use it. BTW the error you get tells you exactly that. You can’t use DB::statement to execute CREATE PROCEDURE code because it uses prepared statement source code for Connection. You can … Read more