List:General Discussion« Previous MessageNext Message »
From:azamka Date:July 29 2003 7:19pm
Subject:batch mode
View as plain text  
I am trying to right sql statement on the shell prompt but its not going 
Here is the statement:

[root@localhost usr]# mysql security < select *  from machine;
-bash: select: No such file or directory

It is asking for the text file. And it works fine with the text file. I am 
wondering how can we write a sql statement on the command prompt. I looked 
into the manual but didnt find it. Is there anyone who can tell me the exact 
syntax. Please help

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