Zend_Db_Adapter_Exception:SQLSTATE [HY000] [2002]

时间:2017-08-05 14:00:46

标签: mysql linux

root @ bilgimedya:/ home / fevzi#tail -f /var/log/mysql/error.log

2017-08-05T10:56:58.066946Z 0 [注意] / usr / sbin / mysqld:关闭完成

2017-08-05T10:57:27.459483Z 0 [警告]更改限制:max_open_files:1024(需要5000)

2017-08-05T10:57:27.459546Z 0 [警告]更改限制:table_open_cache:431(req uested 2000)

2017-08-05T10:57:27.625098Z 0 [警告]已提供具有隐式DEFAULT值的TIMESTAMP。请使用--explicit_defaults_for_timestamp服务器选项(有关详细信息,请参阅文档)。

2017-08-05T10:57:27.628050Z 0 [注意] / usr / sbin / mysqld(mysqld 5.7.19-0ubuntu0.16.0 4.1)从流程2220开始......

2017-08-05T10:57:27.634811Z 0 [注意] InnoDB:PUNCH HOLE支持

2017-08-05T10:57:27.634870Z 0 [注意] InnoDB:Mutexes和rw_locks使用GCC原子b uiltins 2017-08-05T10:57:27.634882Z 0 [注意] InnoDB:使用事件互斥量

1 个答案:

答案 0 :(得分:0)

您需要确保为MySQL提供空间磁盘。不仅如此,您还需要确保可以连接到MySQL实例,例如:

mysql -u root -p<password>

如需进一步阅读有关Zendesk的问题,请参阅:

https://support.plesk.com/hc/en-us/articles/213412829--HUB-ERROR-Zend-Db-Adapter-Exception-SQLSTATE-HY000-2002-No-such-file-or-directory