Create a Tab-Delimited MySQL Dump

To create a tab-delimited MySQL dump, use the -T option in conjunction with the mysqldump command. After the -T, include the folder you would like to place the dump. /tmp is probably the best location, since mysql needs to have write permissions on that folder. The name of the file that will appear is tablename.txt:

[ryans ~]$ mysqldump -u username -p -h localhost tablename -T /tmp

| Tags:

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options