Thursday, 15 August 2013

php - Mysql error #1305 FUNCTION db.sys_exec does not exists -



php - Mysql error #1305 FUNCTION db.sys_exec does not exists -

i using phpmyadmin. using trigger in mysql calls php script after inserting in table. trigger contains this.

declare result int; set result=(select sys_exec('c:/xampp/php/php.exe c:/xampp/htdocs/mysite/hello.php'));

but got error while trying insert table.

#1305 function db.sys_exec not exists

(my database name db) help me this.thanks.

sys_exec not standard mysql function. it's provided external udf plugin, , must installed separately: https://github.com/mysqludf/lib_mysqludf_sys#readme

php mysql sql database triggers

No comments:

Post a Comment