Error DataBase-One Place all Solutions Forums Blog Glossary    Contact Us
Search  
   
Browse by Category
Error DataBase-One Place all Solutions .: DataBase .: Mysql .: How to Backup Database From the Command Prompt?

How to Backup Database From the Command Prompt?

Backup Database From the Command Prompt

It is a good idea to backup your MySQL data occasionally as a precautionary measure. It is also a good idea to create a backup before making any major changes, incase something goes wrong and you need to revert to the unmodified version. Database backups can also be used to transfer your database from one server to another if you change web hosts.

From a command prompt, you can backup your entire database using this line:

mysqldump -u user_name -p your_password database_name > File_name.sql

How helpful was this article to you?

Related Articles

article How to restore Mysql database From the Command Prompt ?
If you are moving your data to a new server,...

(No rating)  3-8-2008    Views: 801   
article Right Click to Open Command Prompt in Directory
Here's a handy tip that I got from a...

(No rating)  3-17-2008    Views: 203   
article How can I change my user-account password from a Command Prompt
You can change a Windows User Account...

(No rating)  3-11-2008    Views: 815   

User Comments

Add Comment
No comments have been posted.