mysqldump -u username -p dbname > dbexport.sql
mysqldump --databases --user=root --password your_db_name > export_into_db.sql
mysqldump -uroot -p root YourDatabaseName > WantedSQLFile.sql
mysqldump -u [username] -p [database-you-want-to-dump] > [path-to-place-data-dump]