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

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -