Hi all,
I am trying a scenario for calling a shell script when ever a trigger is called. Can some one guide me how to achive this scenario. Also it should passes the value from the table to the shell script. Can some one explain me along with the example.

Thanks in Advance,
Santhosh V Kumar.

Hello santhoshvkumar!

I do not believe that there is a way to run a bash command from inside MySQL.

What you MIGHT be able to do though is run a bash script from cron that will check for a flag in mysql, and act based on that.

I hope this helps!
-G

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.