mysql2postgres - 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.

Requirements

  • Ruby >= 2.7 (only maintained ruby versions are supported)

Installation

Add Gem to your Gemfile:

gem 'mysql2postgres'

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 mysql2postgres

Tests

rake test

License

Licensed under the MIT license.