新项目使用regexp_replace
,因此我将mysql安装更新到8.0.3。但仍然感觉什么都没有改变=)
琐碎的查询:
$ echo "select regexp_replace('a','.','z')" | mysql mysql
ERROR 1305 (42000) at line 1: FUNCTION mysql.regexp_replace does not exist
版本:
$ # mysqld --version
/usr/sbin/mysqld Ver 8.0.3-rc-log for Linux on x86_64 (MySQL Community Server (GPL))
发布于 2018-09-02 22:34:42
REGEXP_REPLACE函数在8.0.4版本中发布,因此更新到8.0.12解决了该问题。
https://stackoverflow.com/questions/52082559
复制相似问题