mysql cli dump table code example
Example 1: database dump mysql command
mysqldump -u username -p dbname > filename.sql
Example 2: mysql backup table
mysqldump db_name table_name > table_backup.sql
Example 3: database dump mysql command
mysql -u username -p dbname < filename.sql