Pages

Wednesday, October 30, 2013

Using mysqldump - How to back up a MySQL database on Linux with the mysql dump command


You do not need to invoke the mysql command or log into your MySQL server..
From your linux shell command line type:

MyLinuxServer:/ # mysqldump -u root -p  databaseName > databaseBackupFileName.sql;

You will be prompted to enter the password next "Enter password:"

No comments:

Post a Comment