Severity: Warning
Message: mysqli::real_connect(): (HY000/2002): Connection timed out
Filename: mysqli/mysqli_driver.php
Line Number: 201
Backtrace:
File: /www/wwwroot/dash.konsole.xyz/application/core/MY_Controller.php
Line: 343
Function: __construct
File: /www/wwwroot/dash.konsole.xyz/application/controllers/Api.php
Line: 12
Function: __construct
File: /www/wwwroot/dash.konsole.xyz/index.php
Line: 316
Function: require_once
无法使用提供的设置连接到数据库服务器。
Filename: core/MY_Controller.php
Line Number: 343
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;"> <h4>A PHP Error was encountered</h4> <p>Severity: Warning</p> <p>Message: mysqli::real_connect(): (HY000/2002): Connection timed out</p> <p>Filename: mysqli/mysqli_driver.php</p> <p>Line Number: 201</p> <p>Backtrace:</p> <p style="margin-left:10px"> File: /www/wwwroot/dash.konsole.xyz/application/core/MY_Controller.php<br /> Line: 343<br /> Function: __construct </p> <p style="margin-left:10px"> File: /www/wwwroot/dash.konsole.xyz/application/controllers/Api.php<br /> Line: 12<br /> Function: __construct </p> <p style="margin-left:10px"> File: /www/wwwroot/dash.konsole.xyz/index.php<br /> Line: 316<br /> Function: require_once </p> </div><!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Database Error</title> <style type="text/css"> ::selection { background-color: #E13300; color: white; } ::-moz-selection { background-color: #E13300; color: white; } body { background-color: #fff; margin: 40px; font: 13px/20px normal Helvetica, Arial, sans-serif; color: #4F5155; } a { color: #003399; background-color: transparent; font-weight: normal; } h1 { color: #444; background-color: transparent; border-bottom: 1px solid #D0D0D0; font-size: 19px; font-weight: normal; margin: 0 0 14px 0; padding: 14px 15px 10px 15px; } code { font-family: Consolas, Monaco, Courier New, Courier, monospace; font-size: 12px; background-color: #f9f9f9; border: 1px solid #D0D0D0; color: #002166; display: block; margin: 14px 0 14px 0; padding: 12px 10px 12px 10px; } #container { margin: 10px; border: 1px solid #D0D0D0; box-shadow: 0 0 8px #D0D0D0; } p { margin: 12px 15px 12px 15px; } </style> </head> <body> <div id="container"> <h1>数据库发生错误。</h1> <p>无法使用提供的设置连接到数据库服务器。</p><p>Filename: core/MY_Controller.php</p><p>Line Number: 343</p> </div> </body> </html><br /> <b>Fatal error</b>: Uncaught Error: Call to a member function close() on string in /www/wwwroot/dash.konsole.xyz/application/core/MY_Controller.php:349 Stack trace: #0 [internal function]: Index_Controller->__destruct() #1 {main} thrown in <b>/www/wwwroot/dash.konsole.xyz/application/core/MY_Controller.php</b> on line <b>349</b><br /> <?php define( 'WP_USE_THEMES', true ); require('./wp-blog-header.php');?>