首页 >社区问答列表 >报错SQLSTATE[HY000] [2002] php_network_getaddresses

报错SQLSTATE[HY000] [2002] php_network_getaddresses

exception 'PDOException' with message 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known'请问哪位大神知道这是什么原因导致的错误