Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

List all databases from command line

From: Jim <jj(at)zolx.com>
Date: Fri Sep 14 2007 - 02:08:05 EDT


We use a simple batch file for backups that does a mysqldump on each database on our MySQL 5.0 server. When we create a new database on the server, though, we need to modify the batch file, which is easy to forget.

Is there a way, using a command-line program, that I can get a list of all databases on the server so that I can loop over the list and backup each one?

-- 
MySQL Windows Mailing List
For list archives: 
http://lists.mysql.com/win32
To unsubscribe:    
http://lists.mysql.com/win32?unsub=lists@pantek.com
Received on Fri Sep 14 02:08:26 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:15:25 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library