mysql restore database command line linux code example
Example: mysql dump database command line linux
mysqldump -u<user_name> -p<user_password> <database_name> > <file_name>.sql
mysqldump -u<user_name> -p<user_password> <database_name> > <file_name>.sql