How to download a DB from the console?

2

I need to download a database on my machine, but it can not handle the MySQL Workbench.

Is there a program lighter than the Workbench or what commands do I need to download the DB that I want?

    
asked by anonymous 29.10.2014 / 17:53

1 answer

3

Use MySQLdump:

mysqldump [dbname] -h [host] -u [user] -p > [endereço onde salvar o dump] press enter

type the password and you're done

    
29.10.2014 / 18:06