views:

42

answers:

2
mysql > path_to_bin/name.exe

Is there a solution?

+3  A: 

No, that would be a huge security risk.

Filip Ekberg
select * from puppies - "Are you sure you want to delete all files on your computer?"
Hamish Grubijan
There are other ways to solve something similar, if you really need to run programs, use a scheduler or something, but execution directly from sql? Let's just hope that's a "feature" that will never be done.
Filip Ekberg
+2  A: 

You can use \! on the Linux side to execute simple shell commands, but

  1. I can't say for certain that this will work on the Windows side, and
  2. I agree with Filip's answer that there are inherent risks in doing this.

Source

JohnK813
Why it doesn't work with windows?
Because Windows and Linux is not the same operating system.
Filip Ekberg