系统发生错误

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

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

[ 错误信息 ]

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

[ TRACE ]

[21-01-18 03:35:01] /include/cls.MySQL.php (42) func_throwException([Failed to connect to MySQL: (1049) Unknown database 'wxc_a'])
[21-01-18 03:35:01] /include/cls.MySQL.php (31) MySQL->connect([[mysql, DbServer, DbManager, ******, utf8, 0, wxc_a]])
[21-01-18 03:35:01] /include/_functions.php (119) MySQL->init()
[21-01-18 03:35:01] /include/cls.Model.php (51) func_getDB([a, MySQL])
[21-01-18 03:35:01] /bbs/Lib/bbs_post.php (40) Model->__construct()
[21-01-18 03:35:01] /yoyo/Action/view.php (264) bbs_post->getPostObj([yoyo])
[21-01-18 03:35:01] /include/cls.Factory.php (337) view->ACT_view()
[21-01-18 03:35:01] /include/cls.Factory.php (252) Factory->doAction([])
[21-01-18 03:35:01] /include/cls.Factory.php (159) Factory->loadAction()
[21-01-18 03:35:01] /yoyo/index.php (6) Factory->run([view, list])

[ 运行节点 ]

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

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