详情页

Mysql 8.0.3: 函数 regexp_replace 不存在

时间:2023年12月03日

编辑:佚名

新项目使用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
Run Code Online (Sandbox Code Playgroud)
版本:
$ # mysqld --version
/usr/sbin/mysqld  Ver 8.0.3-rc-log for Linux on x86_64 (MySQL Community Server (GPL))
Run Code Online (Sandbox Code Playgroud)
Jar*_*red  6
REGEXP_REPLACE 函数在 8.0.4 版本中发布,更新到 8.0.12 解决了这个问题。
相关文章
猜你需要