How to Dump | Export MySQL database with Ubuntu Terminal

 

 Enter the below line and then input mysql password for root user. You can change the word root if you are using different username.

mysqldump -u root -p db_name --result-file=dump.sql

Comments