A Python script for converting MySQL database dumps to PostgreSQL format, originally developed for Lanyrd's migration.
Lanyrd's MySQL to PostgreSQL converter is a Python script that transforms MySQL database dumps into PostgreSQL-compatible format. It was specifically created to handle Lanyrd's migration from MySQL to PostgreSQL, addressing unicode character size issues and foreign key indexing requirements. The tool assumes Django's column typing conventions for accurate type mapping during conversion.
Django developers and database administrators who need to migrate MySQL databases to PostgreSQL, particularly those with unicode character requirements and foreign key relationships.
This converter provides a battle-tested solution that handles specific edge cases encountered in production migrations, particularly unicode character size adjustments and automatic foreign key indexing that aren't always addressed by generic conversion tools.
Lanyrd's MySQL to PostgreSQL conversion script
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Automatically doubles VARCHAR column lengths to accommodate unicode size differences, as specified in the README for addressing production issues.
Places indexes on all foreign keys to maintain PostgreSQL performance, a key feature highlighted in the README.
Assumes Django's column typing conventions for accurate type mapping, making it ideal for Django-based applications, as noted in the description.
Offers a command-line interface with clear terminal progress output, providing a straightforward conversion process as shown in the usage instructions.
Designed specifically for Lanyrd's Django application, so it may not handle custom schemas or non-Django projects, as admitted in the README.
Created in 2012 with no evident updates, potentially lacking support for newer database versions or Django features, based on the blog links provided.
Lacks customization for conversion rules, forcing users to adapt to its fixed handling of VARCHAR and foreign keys without alternatives.