[EMAIL PROTECTED]
Sincerely,
Melinda Odom
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
www.mdesigner.org <http://www.mdesigner.org/>
***************************************
Hosting, Ecommerce, $15/yr Domains
www.modom.adgrafix.com <http://www.modom.adgrafix.com/>
www.wsmdomains.com <http://www.wsmdomains.com/>
Toll free in the U.S. and Canada: 800.952.4233 x 350
Outside the U.S. and Canada: +1 978.440.9988 x 350
****************************************************************


-----Original Message-----
From: Grigory Bakunov [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 2:35 AM
To: Munish Malhotra
Cc: [EMAIL PROTECTED]
Subject: Re: Accessing MySql database using Bash shell Script


Date |17 Aug 2001 06:13:08 -0000
>From |"Munish  Malhotra" <[EMAIL PROTECTED]>

Hello!

M M> Dear Sir,
M M> Can you please tell me how  to access data from a MySql database using
a Bash Shell Script i.e. how to connect to a MySql database and retrive
records and to disconnect from database.
M M> I shall be very thankful to you.
You need to use command line driven 'mysql' command
For example
echo "select * from test;"|mysql test;


___________________________________________________________________
For technical support contracts, visit https://order.mysql.com/
This email is sponsored by SWSoft, http://www.asplinux.ru/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Grigory Bakunov <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB / SWSoft
/_/  /_/\_, /___/\___\_\___/
       <___/   www.mysql.com


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to