Progress Programmer Progress Programmer - 7 months ago 53
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