mysql backup database command line
snippet in sql

mysql dump database command line linux

user3596

mysqldump -u<user_name> -p<user_password> <database_name> > <file_name>.sql

import mysql dump database command line linux

user1046

mysql -u<user_name> -puser_password> <database_name>
source /path/db.sql

mysql backup database command line

user9708

mysqldump database_name > database_name.sql