System Error - 银河北京赛车pk10平台|北京赛车pk10冠军单吊

[2002] PDOException in Connection.php line 295

北京赛车pk10黑客软件:SQLSTATE[HY000] [2002] Connection refused

 银河北京赛车pk10平台 www.becod.icu 
  1. $this->fetchType = $config['result_type'];
  2. }
  3. try {
  4. if (empty($config['dsn'])) {
  5. $config['dsn'] = $this->parseDsn($config);
  6. }
  7. if ($config['debug']) {
  8. $startTime = microtime(true);
  9. }
  10. $this->links[$linkNum] = new PDO($config['dsn'], $config['username'], $config['password'], $params);
  11. if ($config['debug']) {
  12. // 記錄數據庫連接信息
  13. Log::record('[ DB ] CONNECT:[ UseTime:' . number_format(microtime(true) - $startTime, 6) . 's ] ' . $config['dsn'], 'sql');
  14. }
  15. } catch (\PDOException $e) {
  16. if ($autoConnection) {
  17. Log::record($e->getMessage(), 'error');
  18. return $this->connect($autoConnection, $linkNum);
  19. } else {

Call Stack

  1. in Connection.php line 295
  2. at PDO->__construct('mysql:host=127.0.0.1...', 'www.becod.icu', '7sp3JQE3itBW68jz', [0, 2, 0, ...]) in Connection.php line 295
  3. at Connection->connect() in Connection.php line 995
  4. at Connection->initConnect(false) in Connection.php line 348
  5. at Connection->query('SHOW COLUMNS FROM `g...', [], false, true) in Mysql.php line 65
  6. at Mysql->getFields('gm_language') in Query.php line 1921
  7. at Query->getTableInfo('gm_language', 'type') in Query.php line 1969
  8. at Query->getFieldsType('gm_language') in Query.php line 1975
  9. at Query->getFieldsBind('gm_language') in Builder.php line 270
  10. at Builder->buildWhere(['AND' => [['exp', object(Expression)]]], ['where' => ['AND' => [['exp', object(Expression)]]], 'field' => ['mark'], 'table' => 'gm_language', ...]) in Builder.php line 240
  11. at Builder->parseWhere(['AND' => [['exp', object(Expression)]]], ['where' => ['AND' => [['exp', object(Expression)]]], 'field' => ['mark'], 'table' => 'gm_language', ...]) in Builder.php line 719
  12. at Builder->select(['where' => ['AND' => [['exp', object(Expression)]]], 'field' => ['mark'], 'table' => 'gm_language', ...]) in Query.php line 2462
  13. at Query->getPdo() in Query.php line 491
  14. at Query->column('mark') in common.php line 99
  15. at get_langs() in route.php line 28
  16. at include('/www/wwwroot/zjxunge...') in App.php line 641
  17. at App::routeCheck(object(Request), ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 116
  18. at App::run() in start.php line 19
  19. at require('/www/wwwroot/zjxunge...') in index.php line 18

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
REDIRECT_STATUS
200
proxy-nokeepalive
1
HTTP_CONNECTION
Keep-Alive
CONTENT_TYPE
application/x-www-form-urlencoded; Charset=UTF-8
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING
gzip, deflate
HTTP_ACCEPT_LANGUAGE
zh-CN,zh
HTTP_REFERER
//www.baidu.com
HTTP_USER_AGENT
Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1)
HTTP_HOST
银河北京赛车pk10平台 www.becod.icu
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
LD_LIBRARY_PATH
/www/server/apache/lib
SERVER_SIGNATURE
<address>Apache Server at 银河北京赛车pk10平台 www.becod.icu Port 80</address>
SERVER_SOFTWARE
Apache
SERVER_NAME
银河北京赛车pk10平台 www.becod.icu
SERVER_ADDR
172.19.0.3
SERVER_PORT
80
REMOTE_ADDR
104.161.33.168
DOCUMENT_ROOT
/www/wwwroot/www.becod.icu
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/www.becod.icu
SERVER_ADMIN
SCRIPT_FILENAME
/www/wwwroot/zjxungen.com/index.php
REMOTE_PORT
50460
REDIRECT_URL
/product/p4-236.html
REDIRECT_QUERY_STRING
s=/product/p4-236.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
s=/product/p4-236.html
REQUEST_URI
/product/p4-236.html
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1571608858.1337
REQUEST_TIME
1571608858
PATH_INFO
/product/p4-236.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/zjxungen.com/application/
THINK_VERSION
5.0.24
THINK_START_TIME
1571608858.1346
THINK_START_MEM
273248
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/zjxungen.com/thinkphp/
LIB_PATH
/www/wwwroot/zjxungen.com/thinkphp/library/
CORE_PATH
/www/wwwroot/zjxungen.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/zjxungen.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/zjxungen.com/
EXTEND_PATH
/www/wwwroot/zjxungen.com/extend/
VENDOR_PATH
/www/wwwroot/zjxungen.com/vendor/
RUNTIME_PATH
/www/wwwroot/zjxungen.com/runtime/
LOG_PATH
/www/wwwroot/zjxungen.com/runtime/log/
CACHE_PATH
/www/wwwroot/zjxungen.com/runtime/cache/
TEMP_PATH
/www/wwwroot/zjxungen.com/runtime/temp/
CONF_PATH
/www/wwwroot/zjxungen.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
HELPER_PATH
/www/wwwroot/zjxungen.com/application/common/helper/
INCLUDE_PATH
/www/wwwroot/zjxungen.com/application/common/include/
IS_CLI
false
IS_WIN
false
__ROOT__
PUBLIC_PATH
/public

[1] ErrorException in Connection.php line 295

Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Connection refused' in /www/wwwroot/zjxungen.com/thinkphp/library/think/db/Connection.php:295
Stack trace:
#0 /www/wwwroot/zjxungen.com/thinkphp/library/think/db/Connection.php(295): PDO->__construct('mysql:host=127....', 'www.becod.icu', '7sp3JQE3itBW68j...', Array)
#1 /www/wwwroot/zjxungen.com/thinkphp/library/think/db/Connection.php(995): think\db\Connection->connect()
#2 /www/wwwroot/zjxungen.com/thinkphp/library/think/db/Connection.php(348): think\db\Connection->initConnect(false)
#3 /www/wwwroot/zjxungen.com/thinkphp/library/think/db/connector/Mysql.php(65): think\db\Connection->query('SHOW COLUMNS FR...', Array, false, true)
#4 /www/wwwroot/zjxungen.com/thinkphp/library/think/db/Query.php(1921): think\db\connector\Mysql->getFields('gm_config')
#5 /www/wwwroot/zjxungen.com/thinkphp/library/think/db/Query.php(1969): think\db\Query->getTableInfo('gm_config', 'type')
#6 /www/wwwroot/zjxungen.com/thinkphp/library/think/db/Query.php(1975):

  1. $this->fetchType = $config['result_type'];
  2. }
  3. try {
  4. if (empty($config['dsn'])) {
  5. $config['dsn'] = $this->parseDsn($config);
  6. }
  7. if ($config['debug']) {
  8. $startTime = microtime(true);
  9. }
  10. $this->links[$linkNum] = new PDO($config['dsn'], $config['username'], $config['password'], $params);
  11. if ($config['debug']) {
  12. // 記錄數據庫連接信息
  13. Log::record('[ DB ] CONNECT:[ UseTime:' . number_format(microtime(true) - $startTime, 6) . 's ] ' . $config['dsn'], 'sql');
  14. }
  15. } catch (\PDOException $e) {
  16. if ($autoConnection) {
  17. Log::record($e->getMessage(), 'error');
  18. return $this->connect($autoConnection, $linkNum);
  19. } else {

Call Stack

  1. in Connection.php line 295
  2. at 银河北京赛车pk10平台 V
    Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Connection refused' in /www/wwwroot/zjxungen.com/thinkphp/library/think/db/Connection.php:295 Stack trace: #0 /www/wwwroot/zjxungen.com/thinkphp/library/think/db/Connection.php(295): PDO->__construct('mysql:host=127....', 'www.becod.icu', '7sp3JQE3itBW68j...', Array) #1 /www/wwwroot/zjxungen.com/thinkphp/library/think/db/Connection.php(995): think\db\Connection->connect() #2 /www/wwwroot/zjxungen.com/thinkphp/library/think/db/Connection.php(348): think\db\Connection->initConnect(false) #3 /www/wwwroot/zjxungen.com/thinkphp/library/think/db/connector/Mysql.php(65): think\db\Connection->query('SHOW COLUMNS FR...', Array, false, true) #4 /www/wwwroot/zjxungen.com/thinkphp/library/think/db/Query.php(1921): think\db\connector\Mysql->getFields('gm_config') #5 /www/wwwroot/zjxungen.com/thinkphp/library/think/db/Query.php(1969): think\db\Query->getTableInfo('gm_config', 'type') #6 /www/wwwroot/zjxungen.com/thinkphp/library/think/db/Query.php(1975): in /www/wwwroot/zjxungen.com/thinkphp/library/think/db/Connection.php on line 295