Showing results for 
Search instead for 
Did you mean: 

Upgrade from to mysql error

Upgrade from to mysql error

Deleted 1.7 files

Copied unzipped 1.9 files

Replaced custom themes,modules, skins (

Then took old app/etc/locale.xml and copied to new location.


Now  do not what to do because I think that 1.9 is going to use 1.7 DB and that might be not correct because I am getting Magento error with the hint to a log file that says:

a:5:{i:0;s:257:"Error in file: "/data04/virt32998/domeenid/" - SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'PRIMARY'; check that column/key exists";i:1;s:1250:"#0 /data04/virt32998/domeenid/ Mage::exception('Mage_Core', 'Error in file: ...')
#1 /data04/virt32998/domeenid/ Mage_Core_Model_Resource_Setup->_modifyResourceDb('upgrade', '', '')
#2 /data04/virt32998/domeenid/ Mage_Core_Model_Resource_Setup->_upgradeResourceDb('', '')
#3 /data04/virt32998/domeenid/ Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /data04/virt32998/domeenid/ Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /data04/virt32998/domeenid/ Mage_Core_Model_App->_initModules()
#6 /data04/virt32998/domeenid/ Mage_Core_Model_App->run(Array)
#7 /data04/virt32998/domeenid/ Mage::run('', 'store')
#8 {main}";s:3:"url";s:1:"/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}



Re: Upgrade from to mysql error

I deleted again all files and followed instructions from page

starting from section 12 (some folder names might be mistyped there) and now my page works. For downloading I uesd downloader.php