Linux Fan forced the electrons to say:
> Is it possible to submit/execute queries to the MySQL
> server right from the Linux shell prompt.. ie. without
> going to the mysql> prompt????

Postgres has the -c option to psql, ie, like:

$ psql -c 'select * from tablename' databasename

I am sure mysql will also have something similar.

Binand

-- 
The prompt for all occasions:
export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> "
--------------- Binand Raj S. ([EMAIL PROTECTED])


-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH

Reply via email to