migration

Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jkuiper
Posts: 138
Joined: Fri 04 Aug 2006 14:17

migration

Post by jkuiper » Tue 23 Dec 2008 09:06

This is great. If a customer wants to change databases Mysql -> PostgreSQL, is there a migration to it.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 23 Dec 2008 12:34

PgDAC does not have a tool for migration from MyDAC. You should replace components manually (for example, open *.pas and *.dfm files in a text editor, and use the Replace All command).

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: migration

Post by snorkel » Tue 23 Dec 2008 14:25

jkuiper wrote:This is great. If a customer wants to change databases Mysql -> PostgreSQL, is there a migration to it.
It's pretty easy to move data from MySQL to PGSQL.
Basically you take the create table statements from MySQL and modify them so they work on PGSQL, most stuff is exactly the same, then use a admin tool that has a good import export tool (Lightning Admin) for example, then
simply import the data into your new PostgreSQL tables.

Most MySQL data out there does not have Stored Procs or views, so it's pretty easy. I have even migrated complex MS SQL server and Firebird databases to PGSL this way.

It's not difficult at all and no special migration tool is needed (other than a good admin tool that can import and export data to tables)

Later,

Snorkel

Post Reply