skip to main | skip to sidebar

Programming - Powerful One liners

"What can a one liner do for you?" - Frankly Speaking

Sunday, July 16, 2006

Copy MySQL tables between different hosts [31]

The following command will allow you to copy MySQL tables between different hosts


mysqldump -h ip -uuser -ppass from_db from_table | mysql -uuser -ppass target_db

Posted by Frank at 6:02 PM 2 comments:
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2007 (1)
    • ►  November (1)
      • ►  Nov 05 (1)
  • ▼  2006 (7)
    • ►  August (1)
      • ►  Aug 08 (1)
    • ▼  July (2)
      • ►  Jul 23 (1)
      • ▼  Jul 16 (1)
        • Copy MySQL tables between different hosts [31]
    • ►  June (1)
      • ►  Jun 19 (1)
    • ►  March (2)
      • ►  Mar 10 (1)
      • ►  Mar 09 (1)
    • ►  January (1)
      • ►  Jan 24 (1)
  • ►  2005 (19)
    • ►  November (5)
      • ►  Nov 16 (1)
      • ►  Nov 13 (3)
      • ►  Nov 02 (1)
    • ►  October (14)
      • ►  Oct 30 (2)
      • ►  Oct 29 (12)

My Blogs

  • MySpace Blog
  • Linux Blog
  • MySQL Database Administration
  • Personal blog
  • Business Happenings
  • Ruby on Rails
  • Oneliners