系统发生错误

您可以选择 [ 向我们反馈这个错误 ] [ 重试 ] [ 返回 ] 或者 [ 回到首页 ]

错误位置: FILE: /include/cls.MySQL.php LINE: 42

[ 错误信息 ]

Failed to connect to MySQL: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known

[ TRACE ]

[21-01-20 15:02:01] /include/cls.MySQL.php (42) func_throwException([Failed to connect to MySQL: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known])
[21-01-20 15:02:01] /bbs/Lib/bbs_archive.php (274) MySQL->connect([[mysql, DbServer, DbManager, ******, utf8, 0, a]])
[21-01-20 15:02:01] /bbs/Lib/bbs_archive.php (258) bbs_archive->connect([a, a])
[21-01-20 15:02:01] /bbs/Lib/bbs_archive.php (61) bbs_archive->initDB([currentevent, current])
[21-01-20 15:02:01] /bbs/Action/archive.php (36) bbs_archive->getSearchResult([luxh009, on, currentevent, current])
[21-01-20 15:02:01] /include/cls.Factory.php (337) archive->ACT_index()
[21-01-20 15:02:01] /include/cls.Factory.php (252) Factory->doAction([])
[21-01-20 15:02:01] /include/cls.Factory.php (159) Factory->loadAction()
[21-01-20 15:02:01] /bbs/archive.php (13) Factory->run([archive])

[ 运行节点 ]

基础服务器 3

[ 详细信息 ]

40: $conn = new mysqli($config['server'], $config['user'], $config['password'], $config['database']);
41:
42: if ( $conn->connect_errno ) func_throwException("Failed to connect to MySQL: (" . $conn->connect_errno . ") " . $conn->connect_error);
43: if ( !mysqli_set_charset ( $conn , $config['charset'] ) ) func_throwException("Error loading character set {$config['charset']}: {$conn->error}");
44: if ( empty(dbtools::$conn)||!mysqli_ping(dbtools::$conn) ) dbtools::$conn = $conn;

beta.wenxuecity.com    2021-01-20 15:02:54
请与系统管理员 weiqiwang#chinagate.com 联系

非常抱歉,服务器内部发生错误!
您可以向我们反馈这个错误