Closed ryanpcmcquen closed 4 years ago
Sounds like the schemaVersion
column in the info
table became all-lowercase (schemaversion
) during the conversion. There are several column names that use mixed case, so even if you fix this one, there are likely others too. Plus, the schema Craft uses for Postgres isn’t 100% identical to the one used for MySQL, so even if you get it converted correctly (with correct casing) you are still going to run into some other issues.
Good news is we are working on a script that can help with this conversion, so try writing into support@craftcms.com and we should be able to help you from there.
@brandonkelly how's it coming with the migration script you guys are working on? I've got a MySQL install that I urgently need to migrate to Postgres.
@jeffreydwalter Write into support@craftcms.com and we should be able to help.
@brandonkelly supposedly, someone on my team has emailed you guys a couple of times over the last few days, but hasn't gotten a reply. I will shoot an email to you right now. Would really appreciate your help. Just need to migrate a MySQL database to Postgres.
I've "documented" our experience with this conversion process here in case people want to try it for themselves: https://craftcms.stackexchange.com/questions/35815/is-there-a-way-to-convert-a-craft-mysql-database-to-postgresql
Description
We are attempting to migrate to PostgreSQL and used
pgloader
to migrate our current MySQL data. When Craft attempts to start we get the following error:Steps to reproduce
pgloader
to migrate that data over to a new PostgreSQL database.Additional info