0

Is there a way/tool to convert a MySQL script to plain SQL? I design my databases on MySQL with their tools but I'm trying to use Flyway to handle migrations. I would like to have the script on plain SQL so it applies to any Data base.

I know I can translate my scripts to plain SQL, I'm looking for a way to automate this in order to avoid redoing this each time the database model has to change for some reason.

Any idea?

0

1 Answer 1

2

phpMyAdmin has a format option to try to output an export in DB2, MSSQL, Oracle, Traditional.

Sign up to request clarification or add additional context in comments.

2 Comments

This is a way indeed. Hard to use from Java or such, but I did't specify it on the question.
@javydreamercsw Sorry I couldn't be of more assistance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.