我尝试使用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
我如何纠正这个问题?
答案 0 :(得分:0)
该错误告诉您该标识符太长:
以下是标识符的最大大小(来自here:
+----------------------------------+-------------------------------------+
| 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中意味着什么,但将它作为标识符看起来很奇怪。
答案 1 :(得分:0)
我在这里猜测这与在Softaculous中安装更高版本的Magento的问题相同,并在“Magento Install - Identifier name is too long”重复我对该主题的回答:
迟到的答案,但是如果有其他人得到这个,在安装时的Softaculous Advanced设置中,检查表前缀的长度,你可能会发现Softaculous做了一些像“fhfhgsfdg_”这样的事情。将其更改为仅四个字符,即“fhfh_”,您可能会发现它有效!
在原始问题中,前缀“djfssd_”是问题,因此“djfs_”可能已经解决了这个问题。