Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do i get a list of all the catlogs in the database?

Status
Not open for further replies.
If by catalogs, you mean all the DB's that are running. you can issue the mysqlshow command from a command prompt or shell.

Look here:




----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
I need a sql command that will return a list of all the catalogs (schema) under data base
 
Same thing:

But add the name of the DB.

mysql_show name_of_db.




----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top