Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mysqldump over netowrk: copy table instead of entire network

Status
Not open for further replies.

yahoo182

Programmer
Jul 5, 2005
70
CA
Hi there,
mysqldump over network is working just fine like the following.

mysqldump -ukzu -p jokes | mysql -h 192.168.1.190 -ukzu -p jokes

I was wondering how I would copy a table in "jokes" instead of the whole db. Say if my table name was named "people" in the jokes table.

Thanks! :)
 
From "mysqldump --help":

Usage: mysqldump [OPTIONS] database [tables]

So, "mysqldump jokes people | ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top