BSD Ports

databases/mysql2pgsql 20010320p1 OpenBSD

convert a MySQL dump to a PostgreSQL dump

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
databases

Description

The perl script mysql2pgsql can be used to convert MySQL database dumps to a PostgreSQL-compatible format (so the data can be imported into PostgreSQL). This can be useful if you are switching from MySQL to PostgreSQL and you have quite a bit of data in your MySQL databases.

In the other systems

SystemPortVersion
OpenBSDdatabases/mysql2pgsql20010320p1
FreeBSDdatabases/mysql2pgsql1.2,1
DragonFlydatabases/mysql2pgsql1.2,1
MidnightBSDdatabases/mysql2pgsql1.2

Install

Binary package:

pkg_add mysql2pgsql

From the ports tree:

cd /usr/ports/databases/mysql2pgsql && make install

Dependencies

Run dependencies 1

No port depends on this one.