Wednesday, 23 May 2012
 Home arrow Articles arrow mysql arrow Display a list of databases on a MySQL server
   
Main Menu
Home
News
Blog
Links
Search
FAQs
Spider
Articles
@intrenet
Free Softwares
Break for fun
Friends VIdeos
Techno videos
Contact Us
Disclaimer
Guest Book
Speed test
V.E.C. Calculator
IPv4 Subnet Calc
IPv6 Subnet Calc
Byte Converter
Converter
GMT/UTC Time
Bandwidth Calc
Allinone Calc
IANA Port Numbers
Country Call Codes
Pk Postal Codes
Surf Anonumously
Visitors Counter
mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday195
mod_vvisit_counterYesterday260
mod_vvisit_counterThis week455
mod_vvisit_counterThis month5004
mod_vvisit_counterAll125680
 
 
 
 


Display a list of databases on a MySQL server PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Amanatullah khalil   
Sunday, 24 May 2009

Display a list of databases on a MySQL server

 To list the databases that exist in a MySQL server, use the ’show databases’ SQL command:

show databases;
+-----------------+
| Database |
+-----------------+
| financial |
| mysql |
| test |
+-----------------+

The mysql database holds user priviledge information and is required for operation of MySQL. The command can be issued from any SQL source including an application with database connectivity (i.e., PHP, Java, etc.) or directly from mysql command (see Connect to a MySQL server using the mysql command for more information).

courtesy http://www.tech-recipes.com/rx/274/display-a-list-of-databases-on-a-mysql-server/

 
< Prev   Next >
 
 
 
csatpk Newsflash
Statistics
OS: Linux h
PHP: 5.2.17
MySQL: 5.1.63-community-log
Time: 03:36
Caching: Disabled
GZIP: Disabled
Members: 3
News: 368
Web Links: 5
Visitors: 266010
Popular