Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 224
nix Avatar asked May 09 '10 17:05

nix


People also ask

Where is my MySQL dump file?

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.

Where can I find SQL dump file?

The memory dump is stored in the SQL instance MSSQL\LOG\ directory by default.

What are MySQL dump files?

Mysqldump is a command-line utility that is used to generate the logical backup of the MySQL database. It produces the SQL Statements that can be used to recreate the database objects and data. The command can also be used to generate the output in the XML, delimited text, or CSV format.


1 Answers

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.

like image 198
Mark Byers Avatar answered Oct 04 '22 20:10

Mark Byers