Magento示例数据安装:表已存在

Magento示例数据安装:表已存在,magento,sample-data,Magento,Sample Data,我现在尝试安装Magento的示例数据已经有几天了,并且尝试了很多方法,但似乎没有任何效果 我正在windows 7上使用EasyHP 5.3.3.1 我下载了示例数据文件并运行SQL为示例数据创建表。之后,我运行了Magento安装,在它询问数据库信息之后,我得到了以下错误 Zend_Db_Statement_Exception Object ( [_previous:Zend_Exception:private] => [message:protected] => SQLS

我现在尝试安装Magento的示例数据已经有几天了,并且尝试了很多方法,但似乎没有任何效果

我正在windows 7上使用EasyHP 5.3.3.1

我下载了示例数据文件并运行SQL为示例数据创建表。之后,我运行了Magento安装,在它询问数据库信息之后,我得到了以下错误

Zend_Db_Statement_Exception Object ( [_previous:Zend_Exception:private] => [message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'admin_assert' already exists [string:Exception:private] => [code:protected] => 42 [file:protected] => I:\EasyPHP-5.3.3.1\www\magento\magento\lib\Zend\Db\Statement\Pdo.php [line:protected] => 234 [trace:Exception:private] => Array ( [0] => Array ( [file] => I:\EasyPHP-5.3.3.1\www\magento\magento\lib\Varien\Db\Statement\Pdo\Mysql.php [line] => 110 [function] => _execute [class] => Zend_Db_Statement_Pdo [type] => -> [args] => Array ( [0] => Array ( ) ) ) [1] => Array ( [file] => I:\EasyPHP-5.3.3.1\www\magento\magento\lib\Zend\Db\Statement.php [line] => 300 [function] => _execute [class] => Varien_Db_Statement_Pdo_Mysql [type] => -> [args] => Array (....... 等等


它只是没有完成安装。导致此错误的原因是什么?

您知道在安装Magento之前应该先安装示例数据吗?看起来您正在尝试安装数据,而Magento已经创建了一些表

1清空数据库

2将数据导入数据库

3安装新的Magento


Windows不是Magento支持的平台。你能安装一台Linux虚拟机并在那里试用吗?@Alex这根本不是真的。我在我的开发机器上运行Windows 7,上面有几个Magento站点。您使用的是哪个版本的Magento?在执行最后一个示例导入之前,是否已完全清除数据库?我使用的是最新版本的magento。是的,数据库很清楚@Alex magento说它与windows兼容。当我安装示例数据时,我收到以下警告:错误SQL查询:从phpmyadmin.pma_column_info中选择注释,其中db_name='magento'和table_name=以及column_name='db_comment'MySQL说:1100-表'pma_column_info'未与锁表锁定是的,我知道那个我在安装magento之前安装了数据。我认为这是一些与windows相关的问题,因为它在linux服务器上运行良好/