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
- User Manual
- How to restore your MySQL database from dump file.
Navigator
Other Knowledgebase Articles
Shared Hosting
# of Domains:
2
# of SQL Server Databases:
2
Disk Space:
Unlimited
Bandwidth:
Unlimited
Email:
Unlimited
SQL Server 2008 R2
Monthly:
$4.99
Windows Hyper-V Server
Dedicated Memory:
2GB
Disk Space:
200GB
Bandwidth:
Unlimited
Windows 2008/2003:
Free
Monthly:
$49.99
Dedicated SQL Server
CPU:
Intel Dual-Core Sandy Bridge I3-2100
RAM:
8GB RAM
Disk:
2x320GB SATA
RAID:
Host RAID 1
Bandwidth:
Unlimited
Windows 2008/2003:
Free
Monthly:
$99.00