Just so everyone is up to speed: The "system" client command is only
available on Unix-like systems.
To quote: http://dev.mysql.com/doc/mysql/en/mysql_Commands.html
>>The edit, nopager, pager, and system commands work only in Unix. <<
So depending on your OS, that command may or may not be available.
Unimin Corporation - Spruce Pine
Gerald Taylor <platypus@stripped> wrote on 10/20/2004 01:58:00 AM:
> Philippe Poelvoorde wrote:
> >> mysql> system echo hi there;
> >> mysql> system ls -ls;
> >> mysql> system uname-a;
> >> all work on the 2.4.22-10mdk kernel and
> >> the semi-colon is optional.
> > mysql> system echo "hi there"
> > should be also working, the first parameters 'echo' is recognized as
> > command to execute, and the folowings strings the parameters of this
> > command. so since 'echo hi there' is not a command it wasn't working
> > (try, doing `$echo\ hi\ there` at your prompt :)
> > Since some commands require quotes, it could be useful.
> > (system doesn't work with MySQL 3.23, does it ?)
> 4.0.18, doesnt seem to work 4 me.
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=1