mysql-to-postgres - MySQL to PostgreSQL Data Translation

Run Linters Run Tests

The minimum Ruby version supported in main branch is 2.7, and the next release will have the same requirement.

With a bit of a modified rails database.yml configuration, you can integrate mysql-to-postgresinto a project.

Installation

git clone https://github.com/AlphaNodes/mysql2postgres.git
cd mysql2postgres
bundle install
gem build mysql2postgres.gemspec
sudo gem install mysql2postgres-0.3.2.gem

Configuration

Configuration is written in YAML format and passed as the first argument on the command line.

Configuration file has be provided with config/database.yml, see config/default.database.yml for an example.

Usage

After providing settings, start migration with


bundle exec mysql2psql

Tests

rake test

License

Licensed under the MIT license.