In phpMyAdmin I press export, a window with a script appears
CREATE DEFINER=`srv53642_r`@`%` FUNCTION `translit_func`(`_txt` VARCHAR(250)) RETURNS text CHARSET utf8 BEGIN DECLARE _f varchar(5); DECLARE _t varchar(15); DECLARE done INT DEFAULT FALSE; DECLARE cur CURSOR FOR SELECT f,t from translit; DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; open cur; the_loop: LOOP #get the values of each column into our variables FETCH cur INTO _f,_t; IF done THEN LEAVE the_loop; END IF; set _txt=replace(_txt,_f,_t); END LOOP the_loop; CLOSE cur; return _txt; END Running this script does not work!
error - "# 1064 - syntax; your SQL syntax;