skip to main | skip to sidebar

Technical Notes and Stuff Happening

Wednesday, February 6, 2008

Simple exporting of MySQL tables into a file

echo "select * from [table];" | mysql -u[user] -h[server] -p[password] [database] > [output_file]
Posted by Ben at 1:11 AM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2010 (1)
    • ►  March (1)
  • ►  2009 (2)
    • ►  August (1)
    • ►  July (1)
  • ▼  2008 (25)
    • ►  October (3)
    • ►  June (4)
    • ►  May (4)
    • ►  March (5)
    • ▼  February (5)
      • Instance variable in viewer for ActionMailer
      • svn checkout url
      • Sharing OSX leopard folder and mounting it on Wind...
      • Simple exporting of MySQL tables into a file
      • Simple Ruby MySQL
    • ►  January (4)

About Me

Ben
View my complete profile