趣购彩彩票网

[1203] PDOException in Connection.php line 295

SQLSTATE[42000] [1203] User bdm299127331 already has more than 'max_user_connections' active 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=bdm299127...', 'bdm299127331', 'TTjg-229-com', [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 `a...', [], false, true) in Mysql.php line 65
  6. at Mysql->getFields('acs_doc_cate_data') in Query.php line 1921
  7. at Query->getTableInfo('acs_doc_cate_data', 'type') in Query.php line 1969
  8. at Query->getFieldsType('acs_doc_cate_data') in Query.php line 1975
  9. at Query->getFieldsBind('acs_doc_cate_data') in Builder.php line 270
  10. at Builder->buildWhere(['AND' => ['cateid' => ['eq', '33']]], ['multi' => ['AND' => ['cateid' => [['eq', '33']]]], 'where' => ['AND' => ['cateid' => ['eq', '33']]], 'table' => 'acs_doc_cate_data', ...]) in Builder.php line 240
  11. at Builder->parseWhere(['AND' => ['cateid' => ['eq', '33']]], ['multi' => ['AND' => ['cateid' => [['eq', '33']]]], 'where' => ['AND' => ['cateid' => ['eq', '33']]], 'table' => 'acs_doc_cate_data', ...]) in Builder.php line 719
  12. at Builder->select(['multi' => ['AND' => ['cateid' => [['eq', '33']]]], 'where' => ['AND' => ['cateid' => ['eq', '33']]], 'table' => 'acs_doc_cate_data', ...]) in Query.php line 2511
  13. at Query->select()
  14. at call_user_func_array([object(Query), 'select'], []) in AcsDb.php line 72
  15. at AcsDb->__call('select', []) in Cate.php line 227
  16. at AcsDb->select() in Cate.php line 227
  17. at Cate->_getPlus('33', false) in Cate.php line 212
  18. at Cate->getOne('33')
  19. at call_user_func_array([object(Cate), 'getOne'], ['33']) in common.php line 510
  20. at az_class('model', ['cate::getOne', '33'], object(AcsDb)) in common.php line 448
  21. at Az('model/cate::getOne', '33') in Index.php line 108
  22. at Index->view() in Index.php line 88
  23. at Index->route()
  24. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 343
  25. at App::invokeMethod([object(Index), 'route'], []) in App.php line 611
  26. at App::module(['home', 'index', 'route'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  27. at App::exec(['type' => 'module', 'module' => ['home', 'index', 'route'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  28. at App::run() in start.php line 19
  29. at require('/usr/home/byu2929550...') in index.php line 34

Environment Variables

GET Data

file
suliaodaweikong
siteid
1
id
896
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

CONTENT_TYPE
text/html
DOCUMENT_ROOT
/usr/home/byu2929550001/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
HTTP_ACCEPT
text/html, application/xhtml+xml, */*
HTTP_CONNECTION
Close
HTTP_HOST
ybcdauto.com
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
HTTP_X_FORWARDED_FOR
151.56.221.65
PATH
/bin
PHPRC
/var/www/php56/hichina_ini/byu2929550001
QUERY_STRING
s=suliaodaweikong.html
REDIRECT_CONTENT_TYPE
text/html
REDIRECT_DOCUMENT_ROOT
/usr/home/byu2929550001/htdocs
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTPS
on
REDIRECT_HTTP_ACCEPT
text/html, application/xhtml+xml, */*
REDIRECT_HTTP_CONNECTION
Close
REDIRECT_HTTP_HOST
ybcdauto.com
REDIRECT_HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
REDIRECT_HTTP_X_FORWARDED_FOR
151.56.221.65
REDIRECT_PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_QUERY_STRING
s=suliaodaweikong.html
REDIRECT_REMOTE_ADDR
154.219.156.254
REDIRECT_REMOTE_PORT
51784
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/suliaodaweikong.html
REDIRECT_SCRIPT_FILENAME
/usr/home/byu2929550001/htdocs/suliaodaweikong.html
REDIRECT_SCRIPT_NAME
/suliaodaweikong.html
REDIRECT_SERVER_ADDR
10.19.173.57
REDIRECT_SERVER_ADMIN
webmaster@byu2929550001.my3w.com
REDIRECT_SERVER_NAME
ybcdauto.com
REDIRECT_SERVER_PORT
443
REDIRECT_SERVER_PROTOCOL
HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE
Apache
REDIRECT_SSL_TLS_SNI
ybcdauto.com
REDIRECT_STATUS
200
REDIRECT_TZ
Asia/Shanghai
REDIRECT_UNIQUE_ID
Ysr8hwoTrTkAA8L1AEQAAAAV
REDIRECT_URL
/suliaodaweikong.html
REMOTE_ADDR
154.219.156.254
REMOTE_PORT
51784
REQUEST_METHOD
GET
REQUEST_URI
/suliaodaweikong.html
SCRIPT_FILENAME
/usr/home/byu2929550001/htdocs/index.php
SCRIPT_NAME
/index.php
SERVER_ADDR
10.19.173.57
SERVER_ADMIN
webmaster@byu2929550001.my3w.com
SERVER_NAME
ybcdauto.com
SERVER_PORT
443
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SSL_TLS_SNI
ybcdauto.com
TZ
Asia/Shanghai
UNIQUE_ID
Ysr8hwoTrTkAA8L1AEQAAAAV
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1657470087.841
REQUEST_TIME
1657470087
PATH_INFO
suliaodaweikong.html
Environment Variables
empty

ThinkPHP Constants

TROOT
/usr/home/byu2929550001/htdocs/
THOST
http://ybcdauto.com
APP_PATH
/usr/home/byu2929550001/htdocs/apps/
PLUGIN_PATH
/usr/home/byu2929550001/htdocs/plugins/
COMMON_PATH
/usr/home/byu2929550001/htdocs/apps/common/
ADMIN_PATH
/usr/home/byu2929550001/htdocs/apps/admin/
DATA_PATH
/usr/home/byu2929550001/htdocs/data/
RUNTIME_PATH
/usr/home/byu2929550001/htdocs/_runtime/
MODE_PATH
/usr/home/byu2929550001/htdocs/_core/acs/
__ROOT__
APP_DEBUG
1
TURL
http://ybcdauto.com/
UPLOAD_URL
http://ybcdauto.com/_uploadfile/
UPLOAD_ROOT
/usr/home/byu2929550001/htdocs/_uploadfile/
ATTACHMENT_ROOT
/usr/home/byu2929550001/htdocs/_uploadfile/attachment/
ATTACHMENT_URL
/_uploadfile/attachment/
ACS_KEY
ACSA4C260C18F
THINK_VERSION
5.0.24
THINK_START_TIME
1657470087.8421
THINK_START_MEM
229272
EXT
.php
DS
/
THINK_PATH
/usr/home/byu2929550001/htdocs/_core/thinkphp/
LIB_PATH
/usr/home/byu2929550001/htdocs/_core/thinkphp/library/
CORE_PATH
/usr/home/byu2929550001/htdocs/_core/thinkphp/library/think/
TRAIT_PATH
/usr/home/byu2929550001/htdocs/_core/thinkphp/library/traits/
ROOT_PATH
/usr/home/byu2929550001/htdocs/
EXTEND_PATH
/usr/home/byu2929550001/htdocs/extend/
VENDOR_PATH
/usr/home/byu2929550001/htdocs/vendor/
LOG_PATH
/usr/home/byu2929550001/htdocs/_runtime/log/
CACHE_PATH
/usr/home/byu2929550001/htdocs/_runtime/cache/
TEMP_PATH
/usr/home/byu2929550001/htdocs/_runtime/temp/
CONF_PATH
/usr/home/byu2929550001/htdocs/apps/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
MODULE_NAME
home
CONTROLLER_NAME
Index
ACTION_NAME
route
IS_POST
false
IS_AJAX
false
NOW_TIME
1657470087
__SELF__
http://ybcdauto.com/home/index/route
DEFAULT_THEME
web
THEME_BASE_PATH
/usr/home/byu2929550001/htdocs/apps/home/view/web/