On Fri, Feb 16, 2001 at 06:46:58PM -0800, Tim Chambers wrote:
>
> Is there any way I can generate a list of the databases in mysql,
> perhaps with the mysqlshow command and some fancy grep?

SHOW DATABASES

> I'm looking for a list separated by spaces, something that I could
> use in a bash script.

I'm sure you can munge the output of "SHOW DATABASES" to get what you
need.

Jeremy
-- 
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 328-7878    Fax: (408) 530-5454
Cell: (408) 439-9951

---------------------------------------------------------------------
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