Dedicated Windows Server Hosting Specialist LiveZilla Live Help
Sales: sales@databasemart.com
Support: support@databasemart.com
Phone: 409-877-4238



How to Backup and Restore MySQL Database?

Problem

If without MySQL manager installed, how to backup and restore MySQL database?

Solution

Login to MySQL server, open command window, input an run:

Backup MySQL Database



C:\> mysqldump --user=[DatabaseUserName] --password=[Password]  [DatabaseName] > [DatabaseBackupFile]

Restore MySQL Database



C:\> mysql --user=[DatabaseUserName] -p  [DatabaseName] < [DatabaseBackupFile]

Other Resources

  1. User Manual
  2. How to restore your MySQL database from dump file.

Navigator

Other How-Tos

Express Windows Server

CPU: Intel Core 2 Duo E8400
CPU Speed: 3.00GHz
Cache: 6MB
RAM: 4GB RAM
Disk: 2x320GB SATA
RAID: RAID 1
Bandwidth: 1000GB
Windows 2008/2003: Free
IP Addresses: 8
Monthly: $149.00

Detail...

Standard Windows Server

CPU: Quad-Core Xeon E5410
CPU Speed: 2.33GHz
Cache: 12MB
RAM: 4GB RAM
Disk: 2x146GB SCSI
RAID: RAID 1
Bandwidth: 1500GB
Windows 2008/2003: Free
IP Addresses: 8
Monthly: $259.00

Detail...