Backup a mysql database
Backup a single database:
mysql configurationintermediate
by MYSQL
13 views
Backup a single database:
1234
Syntax : mysqldump –u root –p[password] [database_name] > dumpfilename.sql
This example takes a backup of sampledb database and dumps the output to dbdump.sql
[mysql@localhost]#
mysqldump –u root –pmysql sampledb > /tmp/dbdump.sqlPlease to add comments
No comments yet. Be the first to comment!