MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old March 23rd, 2003, 07:23 AM
tim tim is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 62 tim User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 9 sec
Reputation Power: 7
Send a message via ICQ to tim
Migrating PostgreSQL data to MySql

I have some problems migrating data from 29 tables in postgres to mysql. I know roughly that you can do this in a particular way from mysql to postgres but haven't found otherwise.

I know you can write some php script to retrieve and re-insert from postgres to mysql but that sounds like manual work. I was hoping to find some 'conversion'/API, utility for me to do this.

Any ideas?

Thanks.
__________________
Beginner

Reply With Quote
  #2  
Old April 15th, 2003, 05:03 AM
hadley hadley is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 63 hadley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I doubt that you'll find an automated conversion utility/API because there are number of features that PostgreSQL supports that mySQL doesn't (eg. named procedures).

If you are just interested in exporting the data and basic table structure from one to the other, your best option is probably to explore the "dump" command that both mySQL and postgreSQL have. This will create SQL needed to make your tables and populate them with data. You may need to modify the dumped file to account for any minor differences between mySQL and postgreSQL syntax.

Hadley

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > Migrating PostgreSQL data to MySql


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway