系统发生错误

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

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

[ 错误信息 ]

Failed to connect to MySQL: (1049) Unknown database 'wxc_N'

[ TRACE ]

[21-01-18 03:51:01] /include/cls.MySQL.php (42) func_throwException([Failed to connect to MySQL: (1049) Unknown database 'wxc_N'])
[21-01-18 03:51:01] /include/cls.MySQL.php (31) MySQL->connect([[mysql, DbServer, DbManager, ******, utf8, 0, wxc_N]])
[21-01-18 03:51:01] /include/_functions.php (119) MySQL->init()
[21-01-18 03:51:01] /include/cls.Model.php (51) func_getDB([N, MySQL])
[21-01-18 03:51:01] /bbs/Lib/bbs_post.php (40) Model->__construct()
[21-01-18 03:51:01] /bbs/Action/view.php (21) bbs_post->getPostObj([1])
[21-01-18 03:51:01] /include/cls.Factory.php (240) view->__construct()
[21-01-18 03:51:01] /include/cls.Factory.php (159) Factory->loadAction()
[21-01-18 03:51:01] /bbs/index.php (7) Factory->run([view])

[ 运行节点 ]

基础服务器 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-18 03:51:52
请与系统管理员 weiqiwang#chinagate.com 联系

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