我正在尝试导入之前导出并保存在系统中的 magento 数据库,但现在当我尝试导入时出现以下错误:
1064 - You have an error in your SQL syntax; check the manual that...
I have tried importing it with command line but that also did'nt solve my issue and.
> CREATE TABLE `cmg_admin_assert` ( `assert_id` int(10) UNSIGNED NOT
> NULL COMMENT 'Assert ID', `assert_type` varchar(20) DEFAULT NULL
> COMMENT AS `Assert Type`, `assert_data` text COMMENT 'Assert Data' )
> ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Admin Assert Table';
最佳答案
您的查询无效,请尝试此查询。
CREATE TABLE `cmg_admin_assert` ( `assert_id` int(10) UNSIGNED NOT
NULL COMMENT 'Assert ID', `assert_type` varchar(20) DEFAULT NULL
COMMENT 'Assert Type', `assert_data` text COMMENT 'Assert Data' )
ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT 'Admin Assert Table';
查看工作example .
关于mysql - 导入 Magento 数据库时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50502987/