How do i upgrade osCommerce Database from v2.2 to v2.3

半城伤御伤魂 提交于 2019-12-01 20:52:04

问题


Inside the Oscommerce folder there is an upgrade_guide called upgrade-230.pdf.

there it sais

If you wish to upgrade to a full v2.3 version, perform only (SQL) Database Changes and use the database with a new v2.3 installation.

But how do I make those Database Changes to use it with a new v2.3?

I think I have to manually compare database schemas and modify the old site's backup .sql file (adding/changing fields, adding tables, etc., to match the schema and fixing the corresponding INSERT statements to match). Then you can simply replace the new installation's database with the restored old one.

In the file there are only some SQL-commands to create the action recorder:

CREATE TABLE action_recorder ( ...

What else do I have to change in the old database backup?


回答1:


The databases are pretty much the same, only some small differences that you can correct with these statements, I collected the needed changes here:

https://gist.github.com/rubo77/7330900

Or you could try the Community Add-On SQL upgrades from 2.2MS to 2.3.3.

Depending on your old version you may or may not need all of it. Also, be sure to make a backup of your database before running any of this



来源:https://stackoverflow.com/questions/19803262/how-do-i-upgrade-oscommerce-database-from-v2-2-to-v2-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!