One-liner SQL Backup

When backing up MySQL database, you are required to enter database password. That can be a bit cumbersome… Here is how you would create a one-liner to backup any database:

NOTE: If you database basswood contains special characters, you might want to wrap it in single quotes like this:

One-liner SQL Backup