我发现这个非常好的用户定义函数用于在 mysql 中使用正则表达式 但是当尝试安装时我找不到 mysql 库
checking for mysqlbin... dirname: missing operand
Try `dirname --help' for more information.
checking for mysql_config... no
no
configure: error: "Can't find mysql library"
该网站说If mysql is an unusual place, you might need to add --with-mysql=<mysql directory>/bin/mysql_config
我找不到 mysql_config
/var/log/mysql
/var/lib/mysql
/var/lib/mysql/mysql
/usr/share/mysql
/usr/lib/mysql
/etc/mysql/
我正在使用 ubuntu lucid lynx,任何建议将不胜感激
编辑安装工作感谢apt-get install libmariadbclient16-dev
但是现在preg_replace('/i/','a','ia')
返回6161
而不是ii