From: Dan Nelson Date: July 29 2003 8:37pm Subject: Re: batch mode List-Archive: http://lists.mysql.com/mysql/146449 Message-Id: <20030729203720.GA39375@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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