Skip to content

Instantly share code, notes, and snippets.

@developish
Created January 12, 2013 00:02
Show Gist options
  • Save developish/4515065 to your computer and use it in GitHub Desktop.
Save developish/4515065 to your computer and use it in GitHub Desktop.
Convert mysql database to postgres locally with taps
# Start taps server in one tab
taps server mysql://mysqluser@localhost/sourcedb tmpuser tmppass
# Create destination postgres database
createdb destinationdb
# Import into postgres database in another tab
taps pull postgres://postgresuser@localhost/destinationdb http://tmpuser:tmppass@localhost:500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment