Skip to content

Can work same database with magento old version and upgrade version?

Here, the old code means Magento2.3.4, and the new code means magento upgraded v2.4.4-p2.

Recently, I upgraded a site from Magento 2.3.4 to v2.4.4-p2, and I have much customization.

Does Magento work with upgraded site v2.4.4-p2 and old site v2.3.4 with the same database?

Magento 2.3.4 is compatible with PHP7.2 to 7.3 and composer version 1, while Magento 2.4.4-p2 is compatible with PHP8.1 and composer version 2.

I would like to be able to switch back and forward between the 2.3.4 and 2.4.4-p2 versions using the same DB.

Can we point the same database to different magento v2.3.4 and v2.4.4-p2? Will it cause any problems?

Both magento versions have different servers.

Please give any suggestions or ideas.

Thanks