# Export an entire mysql database
# syntax: mysqldump -u[userid] -p[pswd] [dbname] > export.file

mysqldump -udemo2 -pdemo2 demo2 > demo2.export