Progress Programmer Progress Programmer - 3 months ago 19
SQL Question

Execute shell command from within MySQL client?

In oracle database, command "host" can be used to run bash command from database command window. Is there a equivalent command as "host" in mySql?


You can use the system command.

system command, \! command

Executes the given command using your default command interpreter.

The system command works only in Unix.


system ls -l