CoderZone.org

Category: >> mySQL >> Example mySQL DUMP command Bookmark and Share

<< lastnext >>

Snippet Name: Example mySQL DUMP command

Description: An example of creating a mySQL dump from an SSH or Telnet terminal window.

Also see:
» Export mySQL results to CSV
» INDEXES: Block Dump
» TIMESTAMP: DUMP
» Date Functions: DUMP
» EXPORT
» Export table to Excel or MS Word f...
» Export table to pipe delimited file

Comment: (none)

Author: CoderZone
Language: MYSQL
Highlight Mode: MYSQL
Last Modified: February 26th, 2009

-- Creates a file named "test.sql" in the "/home/mydomain/backup/" directory:
 
mysqldump DTABASENAME -uUSERNAME -pPASSWORD  > /home/mydomain/backup/test.sql;
 
There haven't been any comments added for this snippet yet. You may add one if you like.  Add a comment 
© coderzone.org | users online: 9