Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rgpsico's avatar

Migration sql server tô mysql php app

how to migrate a php application from sql server to mysql? What are the methods? the method I'm using is to migrate the database first and then change the codes. Is there any method or company specialized in this type of migration?

0 likes
4 replies
jlrdw's avatar

Backup all first.

You should be able to use MySQL Workbench to handle exporting and importing the data.

The code, I have no idea. It depends on:

  • Is it currently laravel
  • Is it straight PHP
Sinnbeck's avatar

@rgpsico then you will sadly need to rewrite every single query, unless some sort of orm was used

Maybe it would be an idea to redo the app in laravel so it's future proof?

1 like

Please or to participate in this conversation.