mysql export database command line
snippet in sql

how to export db from mysql

user2504

mysqldump -u username -p dbname > dbexport.sql

mysql export database command line

user8531

mysqldump -uroot -p root YourDatabaseName > WantedSQLFile.sql

mysql export database command line

user4849

mysqldump --databases --user=root --password your_db_name > export_into_db.sql

export database mysql

user3731

mysqldump -u [username] -p [database-you-want-to-dump] > [path-to-place-data-dump]