Py学习  »  DATABASE

mysql 8.0.3 sais:函数regexp_replace不存在

Jared • 4 年前 • 703 次点击  

新项目用途 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))
Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/38575
 
703 次点击  
文章 [ 1 ]  |  最新文章 4 年前
Jared
Reply   •   1 楼
Jared    5 年前

Regexp_Replace函数在版本8.0.4中发布,因此更新到8.0.12解决了这个问题。