On MySQL 5.7 its work for me, I'm using CentOS7.
For taking Dump.
Command :
mysqldump -u user_name -p database_name -R -E > file_name.sql
Exemple :
mysqldump -u root -p mr_sbc_clean -R -E > mr_sbc_clean_dump.sql
For deploying Dump.
Command :
mysql -u user_name -p database_name < file_name.sql
Exemple :
mysql -u root -p mr_sbc_clean_new < mr_sbc_clean_dump.sql