[英]Magento SQLSTATE[HY000]: General error: 2006 MySQL
I have this error: 我有这个错误:
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away, query was: SELECT
main_table
.* FROMcatalogrule
ASmain_table
WHERE (is_active
= '1')SQLSTATE [HY000]:一般错误:2006 MySQL服务器已经消失,查询是:SELECT
main_table
。* FROMcatalogrule
ASmain_table
WHERE(is_active
='1')
I am not able to add products it is very slow, getting down website? 我无法添加产品,这是非常慢,下降网站?
How can I fix this? 我怎样才能解决这个问题?
Try to set the /etc/my.cnf
as 尝试将
/etc/my.cnf
设置为
[mysqld]
max_allowed_packet=16M
wait_timeout = 1800
connect_timeout = 120
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.