List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:July 29 2003 8:37pm
Subject:Re: batch mode
View as plain text  
In the last episode (Jul 29), Peter L. Berghold said:
> 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"

or better yet, 

mysql -e "select * from machine" security

-- 
	Dan Nelson
	dnelson@stripped
Thread
batch modeazamka29 Jul
  • Re: batch modegerald_clark29 Jul
  • Re: batch modePeter L. Berghold29 Jul
    • Re: batch modeDan Nelson29 Jul