meleyal meleyal - 1 month ago 7
MySQL Question

Is there a simple tool to convert mysql to postgresql syntax?

I've tried the tools listed here, some with more success than others, but none gave me valid postgres syntax I could use (tinyint errors etc.)

vog vog
Answer Source

There's a mysqldump option which makes it output PostgreSQL code:

mysqldump --compatible=postgresql ...