1#note by specifying -p flag without a password it'll prompt you for pass
2
3#dump specific files to a SQL file
4mysqldump -u userHERE -p --lock-tables=false database_name table1 table2 table3 > mydb_tables.sql
5
6
7#if you want to import a file into the data use this
8mysql -u userHERE -p database_name < file.sql
1mysqldump -u <db_username> -h <db_host> -p db_name table_name > table_name.sql
2