MySQL Forums
Forum List  »  Triggers

Re: Execute shell script from trigger/procedure
Posted by: Peter Brawley
Date: April 08, 2015 11:08AM

> call a shell script from MySQL Trigger/Procedure.

Terrible idea, opens a gaping security hole.

Yes, it's possible eg in SQL Server, but to harden a database before it goes into production, you have to close off such security holes.

It's not allowed in MySQL Triggers unless you write and compile a C/C++ UDF for it into your copy of the server.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Execute shell script from trigger/procedure
7155
April 08, 2015 11:08AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.