Mysqldump - typed mysql instead -


i trying backup mysql database via command line , typed

mysql -u -root -p -h server.com database > file.sql 

instead of

mysqldump -u -root -p -h server.com database > file.sql 

it created file on desktop thought working , left hour.

i realized still wasn't finished, pressed ctrl + c kill it.

i opened file.sql , there nothing in it.

what happened? did corrupt database?


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -