Skip to content

Instantly share code, notes, and snippets.

@rposborne
Created January 4, 2014 21:58
Show Gist options
  • Save rposborne/8261273 to your computer and use it in GitHub Desktop.
Save rposborne/8261273 to your computer and use it in GitHub Desktop.
Wordpress Mysqltopsql config (fake)
mysql:
hostname: 127.0.0.1
port: 8889
#socket: /tmp/mysql.sock
username: root
password: root
database: burningpony
destination:
# if file is given, output goes to file, else postgres
file:
postgres:
hostname: ec2-54-197-241-197.compute-1.amazonaws.com
port: 5432
username: wjlegifdnsysez
password: tgJNz5CQwBasdfDZmt5fIauvDI
database: d7bq0qiqr144ab
#Heroku DB url
postgres://username:password@hostname:port/database
# if tables is given, only the listed tables will be converted. leave empty to convert all tables.
#tables:
#- table1
#- table2
# if exclude_tables is given, exclude the listed tables from the conversion.
#exclude_tables:
#- table3
#- table4
# if supress_data is true, only the schema definition will be exported/migrated, and not the data
supress_data: false
# if supress_ddl is true, only the data will be exported/imported, and not the schema
supress_ddl: false
# if force_truncate is true, forces a table truncate before table loading
force_truncate: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment