i could not get database_name to work (i don't know the names of the databases, but i noticed an option for "all-databases" and i used that instead.
mysqldump -hhostname -uusername -ppassword --all-databases > mybackup.sql
this means, of course, that all the databases are in one file. does that matter??