# lanyrd/mysql-postgresql-converter

Lanyrd's MySQL to PostgreSQL conversion script

Repository: https://github.com/lanyrd/mysql-postgresql-converter
Canonical: https://ross.abutalabs.com/products/mysql-postgresql-converter
Language: Python
License: BSD-2-Clause
License Family: permissive
Last push: 2022-09-16T22:15:00+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5041, "days_push": 1447, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1316, forks 463 (observed 2026-08-28T04:04:20.803030+00:00)

## What it is
A Python script that converts MySQL database dumps into PostgreSQL-compatible SQL, originally built for Lanyrd's migration from MySQL to PostgreSQL. It works on mysqldump output generated with PostgreSQL-compatible flags and produces a loadable PostgreSQL dump.

## Use cases
- convert mysql database to postgresql
- migrate from mysql to postgres
- convert mysqldump output to psql-compatible sql
- one-off database migration script for django projects
- load mysql data into a fresh postgres database

## When to choose
- you need a quick, scriptable one-shot MySQL-to-PostgreSQL conversion
- your schema is Django-based and simple column-type mapping is acceptable
- you want a lightweight tool rather than a full migration service

## When to avoid
- you need ongoing replication or live sync between MySQL and PostgreSQL
- your schema has complex types or needs careful, tunable conversion
- you need an actively maintained tool - this was built for one specific database and is largely unmaintained

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: etl, database, cli
- domain: databases, developer-tools
- platform: python, cli
- tags: mysql, postgresql, database-migration, schema-conversion, django, linux, macos

## Member repositories
- lanyrd/mysql-postgresql-converter (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:20.803030+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:48:29.741439+00:00, confidence not recorded.
  - readme: https://github.com/lanyrd/mysql-postgresql-converter (fetched 2026-08-28T04:04:20.803030+00:00, sha 970d67d7a8a4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
