mysql: DELIMITER syntax error at line 1

后端 未结 2 1241
忘了有多久
忘了有多久 2021-01-12 23:11

I try to add this function using the following SQL in phpmyadmin/MySQL

DROP FUNCTION IF EXISTS `__myv`;
DELIMITER ;;
CREATE   FUNCTION `__myv`(`a` int, `b`          


        
2条回答
  •  醉酒成梦
    2021-01-12 23:54

    DELIMITER is a Mysql console command, You can't use it in phpmyadmin. To set the delimiter in phpmyadmin, see this other answer

提交回复
热议问题