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
2010-05-09 17:50:01
Thanks. Tried it. But now I get "Access is denied"
nix
2010-05-09 18:39:46
@nix: It looks like you don't have permission to write to that file/directory. Try writing to another location.
Mark Byers
2010-05-09 18:42:18
Thanks! All fixed!
nix
2010-05-09 19:45:56
If it's all fixed, how about accepting his answer then? (click the check mark)
Hinek
2010-06-23 11:14:59