Created
January 12, 2013 00:02
-
-
Save developish/4515065 to your computer and use it in GitHub Desktop.
Convert mysql database to postgres locally with taps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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