nix
nix

Reputation: 4781

Where is MySQL dump file?

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

Upvotes: 11

Views: 24291

Answers (1)

Mark Byers
Mark Byers

Reputation: 838176

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.

Upvotes: 18

Related Questions