BSD Ports

databases/mysql2pgsql 1.2 MidnightBSD

Convert a MySQL dump to a PostgreSQL dump

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd4
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
MidnightBSDdatabases/mysql2pgsql1.2
FreeBSDdatabases/mysql2pgsql1.2,1
OpenBSDdatabases/mysql2pgsql20010320p1
DragonFlydatabases/mysql2pgsql1.2,1

Install

Binary package:

mport install mysql2pgsql

From mports:

cd /usr/mports/databases/mysql2pgsql && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	mysql2pgsql>0:databases/mysql2pgsql

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
shebangfix
Service scripts
none

Files

distinfo 1
FileSizeSHA256
mysql2pgsql.perl41961e98597a849f70e27879bd33fd0b8729c6e84b5e4ef68cd640f7c3f9b12e67965
Master sites 1
  • http://pgfoundry.org/frs/download.php/1535/