phpMyAdmin中创建存储过程失败问题

在其它地方创建的存储过程好好的。在phpMyAdmin总是通不过,提示错误,大致错误类似:

MySQL 返回: 文档

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 5 

网上搜索,有个如下 的方法,试了,不管用:

http://blog.csdn.net/hhgood/article/details/73281224

 看到另外 一个办法,非常有效,记录下来:

]    ----》  ]

只是把定界符改了一下,就OK了。鬼知道什么原因。随便它。

原文地址:https://www.cnblogs.com/dreamfine/p/8299277.html