I wrote a small PHP script to backup a specific MySQL database, compress the dump in a password-protected zip-file and upload it to dropbox.
You can find it on github: https://github.com/Trekky12/mysql-dropbox-backup