List:General Discussion« Previous MessageNext Message »
From:Peter L. Berghold Date:July 29 2003 8:09pm
Subject:Re: batch mode
View as plain text  
On Tue, 2003-07-29 at 15:19, azamka wrote:
> 
> [root@localhost usr]# mysql security < select *  from machine;
> -bash: select: No such file or directory
> 


EEK! What you told the shell to do was open a file called "select" and
redirect it to mysql. 

What you meant to do was "echo 'select * from machine' | mysql security"


-- 
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Peter L. Berghold                                    Peter@stripped
Dog event enthusiast, brewer of Belgian (style) Ales.  Happiness is
having your contented dog at your side and a Belgian Ale in your glass.


Thread
batch modeazamka29 Jul
  • Re: batch modegerald_clark29 Jul
  • Re: batch modePeter L. Berghold29 Jul
    • Re: batch modeDan Nelson29 Jul