I followed the steps here to install a fresh magento - Installing Magento With The Full Download: http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/installing_magento_via_shell_ssh
I created an empty database, then went to the web interface (http://www.mydomain.com/magentoroot/) for the initial setup.
During the setup process, after I input the database information, the next page always gave me an error like the following:
a:5:{i:0;s:221:"Error in file: "***/app/code/core/Mage/Catalog/sql/catalog_setup/install-1.6.0.0.php" - SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'catalog_product_entity' already exists";i:1;s:1036:"#0 ***/app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception('Mage_Core', 'Error in file: ...') #1 ***/app/code/core/Mage/Core/Model/Resource/Setup.php(421): Mage_Core_Model_Resource_Setup->_modifyResourceDb('install', '', '1.6.0.0.8') #2 ***/app/code/core/Mage/Core/Model/Resource/Setup.php(327): Mage_Core_Model_Resource_Setup->_installResourceDb('1.6.0.0.8') #3 ***/app/code/core/Mage/Core/Model/Resource/Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates() #4 ***/app/code/core/Mage/Core/Model/App.php(412): Mage_Core_Model_Resource_Setup::applyAllUpdates() #5 ***/app/code/core/Mage/Core/Model/App.php(338): Mage_Core_Model_App->_initModules() #6 ***/app/Mage.php(640): Mage_Core_Model_App->run(Array) #7 ***/index.php(80): Mage::run('', 'store') #8 {main}";s:3:"url";s:36:"/index.php/install/wizard/installDb/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}
If I imported the sample data before going to the web interface for the initial setup, there would be no error.
But I don't want the sample data, I just want a clean Magento. Below is some more information:
- Trying to install 1.9.1 and 1.9.0.1
- This is a dedicated server. I created a clean development account---neither Magento nor anything else installed there before.
- Run on PHP 5.5 and MySQL 5.5
- CGI/FastCGI