How login on mysql

To export a database in MySQL you need to do this:

Assuming your MySQL username is USERNAME and your database name is DATABASE.

Then export your database by typing this:

mysqldump -u USERNAME -p DATABASE > DATABASE.sql