[CLUE-Tech] MySQL shell?

Lynn Danielson lynnd at techangle.com
Fri Sep 20 01:17:15 MDT 2002


Jeffery Cann wrote:
> 
> I cannot seem to find a way to execute a shell command from within the
> MySQL CLI:
> 
> mysql> ls -l
> 
> Usually it's ! or !!.  I tried \! and no dice.

Use ctrl-z to suspend mysql, execute your shell command, and use fg
to restore mysql to the foreground.

Lynn




More information about the clue-tech mailing list