[1040] PDOException in Connection.php line 293

广东快乐十分开奖结果

  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 293
  2. at PDO->__construct('mysql:host=127.0.0.1...', 'webrdp', 'pBs9bkf(1*d', [0, 2, 0, ...]) in Connection.php line 293
  3. at Connection->connect() in Connection.php line 989
  4. at Connection->initConnect(false) in Connection.php line 346
  5. at Connection->query('SHOW COLUMNS FROM `i...', [], false, true) in Mysql.php line 65
  6. at Mysql->getFields('`industries`') in Query.php line 1757
  7. at Query->getTableInfo('industries', 'type') in Query.php line 1805
  8. at Query->getFieldsType('industries') in Query.php line 1811
  9. at Query->getFieldsBind('industries') in Builder.php line 266
  10. at Builder->buildWhere(['AND' => ['id' => '2442']], ['table' => 'industries', 'multi' => ['AND' => ['id' => ['2442']]], 'where' => ['AND' => ['id' => '2442']], ...]) in Builder.php line 236
  11. at Builder->parseWhere(['AND' => ['id' => '2442']], ['table' => 'industries', 'multi' => ['AND' => ['id' => ['2442']]], 'where' => ['AND' => ['id' => '2442']], ...]) in Builder.php line 700
  12. at Builder->select(['table' => 'industries', 'multi' => ['AND' => ['id' => ['2442']]], 'where' => ['AND' => ['id' => '2442']], ...]) in Query.php line 2339
  13. at Query->select() in Index.php line 325
  14. at Index->compylist()
  15. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 343
  16. at App::invokeMethod([object(Index), 'compylist'], []) in App.php line 595
  17. at App::module(['index', 'index', 'compylist'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  18. at App::exec(['type' => 'module', 'module' => ['index', 'index', 'compylist']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  19. at App::run() in start.php line 19
  20. at require('/home/www/ynqzq.com/...') in index.php line 21

广东快乐十分开奖结果

GET Data

cityid
scityid
sinid
2442
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

REDIRECT_UNIQUE_ID
XLXgAABxny@q7TbeGVi9FQAAADc
REDIRECT_HTTPS
on
REDIRECT_SSL_TLS_SNI
www.nazhi.com
REDIRECT_STATUS
200
UNIQUE_ID
XLXgAABxny@q7TbeGVi9FQAAADc
HTTPS
on
SSL_TLS_SNI
www.nazhi.com
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
HTTP_HOST
www.nazhi.com
HTTP_ACCEPT
*/*
HTTP_REFERER
http://www.schemantix.com/s/0_si2442/
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SERVER_NAME
www.nazhi.com
SERVER_ADDR
10.186.59.151
SERVER_PORT
443
REMOTE_ADDR
154.209.186.66
DOCUMENT_ROOT
/home/www/ynqzq.com/public
REQUEST_SCHEME
https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/home/www/ynqzq.com/public
SERVER_ADMIN
webmaster@nazhi.com
SCRIPT_FILENAME
/home/www/ynqzq.com/public/index.php
REMOTE_PORT
49302
REDIRECT_QUERY_STRING
cityid=&scityid=&sinid=2442
REDIRECT_URL
/s/0_si2442/
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
cityid=&scityid=&sinid=2442
REQUEST_URI
/s/0_si2442/
SCRIPT_NAME
/index.php
PATH_INFO
/index/compylist
PATH_TRANSLATED
/home/www/ynqzq.com/public/index/compylist
PHP_SELF
/index.php/index/compylist
REQUEST_TIME_FLOAT
1555423232.739
REQUEST_TIME
1555423232
Environment Variables
empty

ThinkPHP Constants

BIND_MODULE
index
APP_PATH
/home/www/ynqzq.com/public/../application/
THINK_VERSION
5.0.14
THINK_START_TIME
1555423232.7406
THINK_START_MEM
402184
EXT
.php
DS
/
THINK_PATH
/home/www/ynqzq.com/thinkphp/
LIB_PATH
/home/www/ynqzq.com/thinkphp/library/
CORE_PATH
/home/www/ynqzq.com/thinkphp/library/think/
TRAIT_PATH
/home/www/ynqzq.com/thinkphp/library/traits/
ROOT_PATH
/home/www/ynqzq.com/
EXTEND_PATH
/home/www/ynqzq.com/extend/
VENDOR_PATH
/home/www/ynqzq.com/vendor/
RUNTIME_PATH
/home/www/ynqzq.com/runtime/
LOG_PATH
/home/www/ynqzq.com/runtime/log/
CACHE_PATH
/home/www/ynqzq.com/runtime/cache/
TEMP_PATH
/home/www/ynqzq.com/runtime/temp/
CONF_PATH
/home/www/ynqzq.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false