Skip to content

Instantly share code, notes, and snippets.

@boywhoroared
Created June 15, 2011 18:29
Show Gist options
  • Save boywhoroared/1027751 to your computer and use it in GitHub Desktop.
Save boywhoroared/1027751 to your computer and use it in GitHub Desktop.
MYSQL: Copy tables from one schema to another (uses mysql client)
mysqldump -u(username) -p(password) (source database name) (table names...) | mysql -u(username) -p(password) (destination database name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment