Here's a command that properly dumps all databases, in case you wanted to restore a full backup.
For whatever reason, many sites are using improper characters ( ' –– ' , ' – ' ) to display this mysqldump command line--copy pasting will throw up an error stating something like:
mysqldump: Got error: 1049: Unknown database '??extended-insert' when selecting the database
Here is a sample of wrong characters, which appear just fine, but won't work:
mysqldump ––extended-insert ––all-databases ––add-drop-database ––disable-keys ––flush-privileges ––quick ––routines ––triggers > all-databases.sql