In order to backup all mysql databases, you can run the following command in your linux command line:

The example below is configured with username “theuser” and password “thepass”.

1
mysqldump -utheuser -pthepass ?all-databases > all_dbs.sql