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

php - mysql multiple keyword search in any order -

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

unity3d - Problems porting a GLSL shadertoy shader to unity -