无名交流

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
无名交流 MalcolmLar 个人资料

MalcolmLar(UID: 4278)

  • 邮箱状态未验证
  • 视频认证未认证
  • 性别保密
  • 生日-
  • 个人主页http://

活跃概况

  • 在线时间1 小时
  • 注册时间2019-5-1 05:34
  • 最后访问2019-5-4 23:53
  • 上次活动时间2019-5-4 23:53
  • 所在时区使用系统默认

统计信息

  • 已用空间 0 B
  • 积分6
  • 威望0
  • 金钱6
  • 贡献0

QQ|Archiver|手机版|无名交流网 ( 鄂ICP备18000449号-6 )

GMT+8, 2020-11-30 15:18 , Processed in 0.013947 second(s), 9 queries , Xcache On.

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
汽车门网     神马电影网 System Error

[1040] PDOException in Connection.php line 295

SQLSTATE[HY000] [1040] Too many connections

  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=172.18.0....', 'admin', 'sDd8ao6Gij2H3sdHo5iH...', [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 `o...', [], false, true) in Mysql.php line 65
  6. at Mysql->getFields('order') in Query.php line 1921
  7. at Query->getTableInfo('order', 'type') in Query.php line 1969
  8. at Query->getFieldsType('order') in Query.php line 1975
  9. at Query->getFieldsBind('order') in Builder.php line 270
  10. at Builder->buildWhere(['AND' => ['wid' => '229194', 'goods_type' => '友情链接', 'pausestatus' => 1, ...]], ['table' => 'order', 'field' => ['reurl', 'reurl_title'], 'multi' => ['AND' => ['wid' => ['229194'], 'goods_type' => ['友情链接'], 'pausestatus' => [1], ...]], ...]) in Builder.php line 240
  11. at Builder->parseWhere(['AND' => ['wid' => '229194', 'goods_type' => '友情链接', 'pausestatus' => 1, ...]], ['table' => 'order', 'field' => ['reurl', 'reurl_title'], 'multi' => ['AND' => ['wid' => ['229194'], 'goods_type' => ['友情链接'], 'pausestatus' => [1], ...]], ...]) in Builder.php line 719
  12. at Builder->select(['table' => 'order', 'field' => ['reurl', 'reurl_title'], 'multi' => ['AND' => ['wid' => ['229194'], 'goods_type' => ['友情链接'], 'pausestatus' => [1], ...]], ...]) in Query.php line 2511
  13. at Query->select() in Autochain.php line 115
  14. at Autochain->getll('229194') in Autochain.php line 67
  15. at Autochain->AutoChainYL()
  16. at ReflectionMethod->invokeArgs(object(Autochain), []) in App.php line 343
  17. at App::invokeMethod([object(Autochain), 'AutoChainYL'], []) in App.php line 611
  18. at App::module(['index', 'Autochain', 'AutoChainYL'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  19. at App::exec(['type' => 'module', 'module' => ['index', 'Autochain', 'AutoChainYL'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  20. at App::run() in start.php line 19
  21. at require('/data0/www/2898/v3.3...') in index.php line 21

Environment Variables

GET Data

sign
50161b95040ee63165a55c99cbe64b4f
id
229194
dtype
html
text
true
code
utf-8
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/data0/www/2898/v3.3.3/public/index.php
QUERY_STRING
s=/index/Autochain/AutoChainYL&sign=50161b95040ee63165a55c99cbe64b4f&id=229194&dtype=html&text=true&code=utf-8
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index/Autochain/AutoChainYL?sign=50161b95040ee63165a55c99cbe64b4f&id=229194&dtype=html&text=true&code=utf-8
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/data0/www/2898/v3.3.3/public
SERVER_PROTOCOL
HTTP/1.0
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.16.1
REMOTE_ADDR
43.248.188.38
REMOTE_PORT
41518
SERVER_ADDR
172.18.0.101
SERVER_PORT
33664
SERVER_NAME
2898.com
REDIRECT_STATUS
200
PHP_ADMIN_VALUE
open_basedir=/data0/www/2898/v3.3.3/public/:/tmp/:/proc/:/data0/www/2898/
HTTP_HOST
auto.link.2898.com
HTTP_X_REAL_IP
23.89.67.221
HTTP_X_FORWARDED_FOR
23.89.67.221
HTTP_REMOTE_HOST
23.89.67.221
HTTP_CONNECTION
close
HTTP_ACCEPT
*/*
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1606720353.6388
REQUEST_TIME
1606720353
PATH_INFO
/index/Autochain/AutoChainYL
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/data0/www/2898/v3.3.3/public/../application/
CONF_PATH
/data0/www/2898/v3.3.3/public/../conf/
APP_STATE
dev
THINK_VERSION
5.0.24
THINK_START_TIME
1606720353.6401
THINK_START_MEM
263848
EXT
.php
DS
/
THINK_PATH
/data0/www/2898/v3.3.3/thinkphp/
LIB_PATH
/data0/www/2898/v3.3.3/thinkphp/library/
CORE_PATH
/data0/www/2898/v3.3.3/thinkphp/library/think/
TRAIT_PATH
/data0/www/2898/v3.3.3/thinkphp/library/traits/
ROOT_PATH
/data0/www/2898/v3.3.3/
EXTEND_PATH
/data0/www/2898/v3.3.3/extend/
VENDOR_PATH
/data0/www/2898/v3.3.3/vendor/
RUNTIME_PATH
/data0/www/2898/v3.3.3/runtime/
LOG_PATH
/data0/www/2898/v3.3.3/runtime/log/
CACHE_PATH
/data0/www/2898/v3.3.3/runtime/cache/
TEMP_PATH
/data0/www/2898/v3.3.3/runtime/temp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
CONTROLLER_NAME
autochain
MODULE_NAME
index
ACTION_NAME
autochainyl