尝试在localhost上设置网站时出现错误
致命错误:带有消息的未捕获异常'PDOException' 'SQLSTATE [HY000] [2002] php_network_getaddresses:getaddrinfo失败: 没有这样的主人是已知的。 '在C:\ xampp \ htdocs \ 1 \ PHP Pro出价 v7.6 \ library \ Cube \ Db \ Adapter \ PDO \ Mysql.php:110堆栈跟踪:#0 C:\ xampp \ htdocs \ 1 \ PHP Pro出价 V7.6 \库\立方\ DB \适配器\ PDO \ Mysql.php(110): PDO-> __ construct('mysql:host = http ...','ubidu_ge', 'AhJae!x5Gojetha ...',数组)#1 C:\ xampp \ htdocs \ 1 \ PHP Pro出价 V7.6 \库\立方\ DB \适配器\ PDO \ Mysql.php(135): Cube \ Db \ Adapter \ PDO \ Mysql-> _connect()#2 C:\ xampp \ htdocs \ 1 \ PHP Pro出价 V7.6 \模块\安装\ SRC \安装\模型\ Parser.php(375): Cube \ Db \ Adapter \ PDO \ Mysql-> canConnect()#3 C:\ xampp \ htdocs \ 1 \ PHP Pro 出价v7.6 \ module \ Install \ src \ Install \ Controller \ Index.php(230): Install \ Model \ Parser-> parse(true)#4 C:\ xampp \ htdocs \ 1 \ PHP Pro出价 V7.6 \库\立方\控制器\ Dispatcher.php(131): 安装\ Controller \ Index->索引()#5 C:\ xampp \ htdocs \ 1 \ PHP Pro出价 V7.6 \库\立方\控制器\ Front.php(411): Cube \ Controller \ Dispatcher-> dispatch(Object(Cube \ Controlle in) C:\ xampp \ htdocs \ 1 \ PHP Pro出价 第114行的v7.6 \ library \ Cube \ Db \ Adapter \ PDO \ Mysql.php