Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8365289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:37:29+00:00 2026-06-09T12:37:29+00:00

Is there a Java tool that can convert mysql dump into postgresql dump available.

  • 0

Is there a Java tool that can convert mysql dump into postgresql dump available.

Googling got me this, https://github.com/maxlapshin/mysql2postgres. Which is a ruby gem.
In my current development environment installing Ruby is not allowed.

The versions used

  • Mysql 5.1
  • Postgres 8.2

Note: mysqldump --compatible=postgresql didnt work!

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T12:37:30+00:00Added an answer on June 9, 2026 at 12:37 pm

    First, PostgreSQL 8.2 is ancient and unsupported. Upgrade urgently. Read the release notes for each .0 version to find out about any compatibility issues you may face.

    As for the conversion, you should generally do it in two phases. Convert and load the schema, then convert and load the data.

    Generally automated tools won’t do a good job converting database schemas. You should do a schema-only dump, run a conversion tool over it then hand-edit and hand-check it before loading it into PostgreSQL.

    Once you have a schema that looks sane, do a data-only dump from MySQL and try loading that into a PostgreSQL instance with your converted schema loaded in it. mysqldump --compatible=postgresql may do a better job, though you’ll probably need additional flags too.

    If you try it and still don’t have any luck, consider following up with more detail. Report exact error messages not just “doesn’t work” if you follow up.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any tool that can convert UML into Java or C#?
Is there a tool out there that can automatically convert Python to Java? Can
Hi is there any tool available in Java world that will parse/read a source
Is there some tool that can analyze a Java program and strip down the
Is there a good tool that can help to reverse engineer Java classes to
Is there any tool that can remove debug info from Java .class files, just
is there a java UI testing tool (web) that converts the DOM into a
Is there any open source tool/framework that is written in Java that can be
Is there an existing tool for Java that is similar to Microsoft's CHESS ?
Is there a way/tool to auto convert Java source code from using raw types

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.