
Originally Posted by
Markku If you don't have backup copies available, you can try to copy Sugar 4.2.1a files over your installation and delete possible references to 4.5 from database tables upgrade_history and config. Now wait, if you've run run the upgrade script, then your database has been updated to 4.5 structure, so copying files from older version will not work. You could try to copy 4.5 files over your current installation.
edited ** Forgot one thing, the upgrade wizard will create cache/upload/upgrades/patch/SugarSuite-Upgrade-4.2.1-to-4.5.0-restore.zip which includes your 4.2.1 files.
edited part 2 *** I created two sql scripts which you can use to downgrade Sugar 4.5.0 database to version 4.2.1.
Steps to downgrade (use at your own risk, worked on my test environment though)
1. Run downgrade_sugar450_to_421.sql
This will delete tables created by 4.5.0 upgrade and revert db structure back to 4.2.1
2. Run downgrade_sugar_table_charset_450_to_421.sql
This will simply change the character set of all tables to Latin1, if you use another charecter set, simply change the script
3. Copy files from cache/upload/upgrades/patch/SugarSuite-Upgrade-4.2.1-to-4.5.0-restore.zip to root folder (overwrite Sugar 4.5.0 files)
Bookmarks