Quantcast
Channel: GeekyBoy.com » MySQL
Viewing all articles
Browse latest Browse all 10

MySqlDump export and MySQL import

$
0
0

To export data as a backup you can’t beat mysqldump.

# mysqldump -u username database > database_2007-05-14.sql

Then to restore a database you would use:

# mysql -u username -p database < database_2007-05-14.sql

It doesn’t get any easier than that!


Viewing all articles
Browse latest Browse all 10

Trending Articles