MySQL REPLACE 语句不正确? "A new statement was found, but no delimiter"

MySQL REPLACE statement incorrect? "A new statement was found, but no delimiter"

我正在尝试替换 table 字段中的子字符串,但 phpMyAdmin 说 "A new statement was found, but no delimiter between it and the previous one' (near REPLACE)" 我已经仔细阅读了文档,但没有发现我可以做什么的提示。此外,网络搜索不会产生有用的结果...

我的声明:

update phpbb_users
SET user_avatar = REPLACE(user_avatar, 'http://', '//') WHERE user_avatar LIKE ('http://%');

我在尝试使用

时收到类似的错误消息
update phpbb_posts
SET post_text = REPLACE(post_text, 'http://', '//') WHERE post_text LIKE ('http://');

这个 appears to have been a bug 与那个(过时的)phpMyAdmin 版本;它至少在当前的 4.5.5.1 中已修复,可能更早,但我没有广泛测试以找到确切的时间。