0

我尝试使用 softaculous 安装 Magento 1.7.0.2 版本,但是,它给出了以下错误:

The following errors were found :

Could not make the query numbered : 36
MySQL Error No : 1059
MySQL Error : Identifier name 'UNQ_djfssd_CATRULE_PRD_PRICE_RULE_DATE_WS_ID_CSTR_GROUP_ID_PRD_ID' is too long

我该如何纠正这个?

4

2 回答 2

0

该错误告诉您该标识符太长:

这是标识符的最大大小(来自这里

+----------------------------------+-------------------------------------+
|            Identifier            |     Maximum Length (characters)     |
+----------------------------------+-------------------------------------+
|     Database                     | 64                                  |
|     Table                        | 64                                  |
|     Column                       | 64                                  |
|     Index                        | 64                                  |
|     Constraint                   | 64                                  |
|     Stored Procedure or Function | 64                                  |
|     Trigger                      | 64                                  |
|     View                         | 64                                  |
|     Event                        | 64                                  |
|     Tablespace                   | 64                                  |
|     Server                       | 64                                  |
|     Log File Group               | 64                                  |
|     Alias                        | 256 (see exception following table) |
|     Compound Statement Label     | 16                                  |
+----------------------------------+-------------------------------------+

该标识符有 65 个字符。

我不确定这在 magento 中意味着什么,但是将其作为标识符看起来很奇怪。

于 2013-11-30T18:49:10.743 回答
0

我在这里冒险猜测这与在 Softaculous 中安装更高版本的 Magento 的问题相同,并重复我在“ Magento 安装 - 标识符名称太长”中对主题的回答:

迟到的答案,但如果其他人得到这个,在安装时在 Softaculous 高级设置中,检查表前缀的长度,你可能会发现 Softaculous 做了一些长的事情,比如“fhfhgsfdg_”。将其更改为仅四个字符,即“fhfh_”,您可能会发现它有效!

在原始问题中,前缀“djfssd_”是问题,将其设为“djfs_”可能会解决问题。

于 2016-08-22T02:56:56.317 回答