views:

68

answers:

3

Is it possible to execute a php file using mysql stored procedure or event scheduler?

+1  A: 

As far as I'm aware this is impossible. And I can't really imagine a scenario where you'd want to do this. Can't you schedule a task with cronjob/task scheduler that executes a PHP file in the background?

CharlesLeaf
+1  A: 

No, that is not possible. What are your intentions to use it for?

Thariama
I want to use mysql to export the data to a csv file and email that csv file to the client. The email part i was thinking of coding it in php.
Abhishek Nair
why don't you grab the datafrom the db (with php), create the cvs file and mail it (with php)?
Thariama
A: 

Such a feature has not been implemented in the MYSQL server (yet?), but you might be interested in

VolkerK