views:

66

answers:

1

I have used the MySQL mysqldump command. It said "dump complete". Where can I now find the file which contains the MySQL statments?

+2  A: 

Usually you use this command from the command line and pipe the output to a file:

mysqldump db_name > backup-file.sql

Then the dump will be in the file backup-file.sql in the current directory. If you don't redirect then the output will just be displayed to the screen, not saved to a file.

Mark Byers
Thanks. Tried it. But now I get "Access is denied"
nix
@nix: It looks like you don't have permission to write to that file/directory. Try writing to another location.
Mark Byers
Thanks! All fixed!
nix
If it's all fixed, how about accepting his answer then? (click the check mark)
Hinek