You can either use
mysql>show databases;

or mysqlshow -uroot -p  in the command line.

Respectfully yours,

Sherwin T. Ang
Systems Administrator
Internet Manila

----- Original Message -----
From: "Will Standley" <[EMAIL PROTECTED]>
To: "MySQL List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 12:35 AM
Subject: How to get MySQL to list current db's ?


> I have two sample MySQL db's running on a local Linux box w/Apache...
>
> Once I enter "mysql" from the Linux command line...
>
> Is there a way to ask MySQL to list the db's that are currently created?
>
> Thanks,
>
> Will
>
>
> ---------------------------------------------------------------------
> 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