I am trying to run the sql quering to modify the recording in a schema table, but for some reason CREATE DEFINER THROWING syntax error
DELIMITER $$
DROP PROCEDURE IF EXISTS RemoveMarkedExecutionReports;
CREATE DEFINER=`testuser`@`%`
PROCEDURE testdb.RemoveMarkedExecutionReports(IN noOfRecords INT)
BEGIN
delete from job_executions where marked_for_delete = 1 order by execution_id limit noOfRecords;
END $$
2