Mysql错误#1305 FUNCTION db.sys_exec不存在 [英] Mysql error #1305 FUNCTION db.sys_exec does not exists

查看:2698
本文介绍了Mysql错误#1305 FUNCTION db.sys_exec不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用phpmyadmin。我在mysql中使用一个触发器,在表中插入东西后调用php脚本。
我的触发器包含这个。

I am using phpmyadmin. I am using a trigger in mysql which calls a php script after inserting something in a table. My trigger contains this.

DECLARE result INT;
SET result=(select sys_exec('C:/xampp/php/php.exe C:/xampp/htdocs/mysite/hello.php'));

但我在尝试向表中插入内容时遇到此错误。

But i got this error while trying to insert something to the table.

#1305 FUNCTION db.sys_exec does not exists

(我的数据库名称是db)
帮助我这个。谢谢。

(my database name is db) Help me with this.Thanks.

推荐答案

sys_exec 不是标准的mysql函数。它由外部UDF插件提供,必须单独安装: https://github.com/mysqludf/lib_mysqludf_sys #readme

sys_exec is not a standard mysql function. It's provided by an external UDF plugin, and must be installed separately: https://github.com/mysqludf/lib_mysqludf_sys#readme

这篇关于Mysql错误#1305 FUNCTION db.sys_exec不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆