龙八国际app手机版下载

[1045] PDOException in Connection.phphtml line 293

SQLSTATE[HY000] [1045] Access denied for user 'db70541'@'118.178.184.98' (using password: YES)

  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.phphtml line 293
  2. at PDO->__construct('mysql:host=db.vhost0...', 'db70541', 'vjyy7vWY', [0, 2, 0, ...]) in Connection.phphtml line 293
  3. at Connection->connect() in Connection.phphtml line 989
  4. at Connection->initConnect(false) in Connection.phphtml line 346
  5. at Connection->query('SHOW COLUMNS FROM `b...', [], false, true) in Mysql.phphtml line 65
  6. at Mysql->getFields('`bbibm_block`') in Query.phphtml line 1749
  7. at Query->getTableInfo('bbibm_block', 'pk') in Query.phphtml line 1783
  8. at Query->getPk(['multi' => ['AND' => ['type' => ['其他页面banner'], 'status' => ['normal']]], 'where' => ['AND' => ['type' => '其他页面banner', 'status' => 'normal']], 'cache' => ['key' =>true, 'expire' =>null, 'tag' =>null], ...]) in Query.phphtml line 2452
  9. at Query->find() in Base.phphtml line 117
  10. at Base->getOtherBanner() in Base.phphtml line 88
  11. at Base->_initialize() in Controller.phphtml line 59
  12. at Controller->__construct(object(Request)) in Controller.phphtml line 98
  13. at Controller->__construct() in Base.phphtml line 13
  14. at Base->__construct(object(Request)) in Route.phphtml line 58
  15. at Route->execute('cms', 'index', 'index')
  16. at ReflectionMethod->invokeArgs(object(Route), ['cms', 'index', 'index']) in App.phphtml line 343
  17. at App::invokeMethod(['\think\addons\Route', 'execute'], ['addon' => 'cms', 'controller' => 'index', 'action' => 'index']) in App.phphtml line 470
  18. at App::exec(['type' => 'method', 'method' => ['\think\addons\Route', 'execute'], 'var' => ['addon' => 'cms', 'controller' => 'index', 'action' => 'index']], ['app_host' => '', 'app_debug' =>true, 'app_trace' =>false, ...]) in App.phphtml line 139
  19. at App::run() in start.phphtml line 19
  20. at require('/data/home/hyu473356...') in index.phphtml line 23

Environment Variables

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

Server/Request Data

DOCUMENT_ROOT
/usr/home/hyu4733560001/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT
*/*
HTTP_HOST
www.baock.com
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
PATH
/bin:/usr/bin
PHPRC
/var/www/php71/hichina_ini/hyu4733560001
QUERY_STRING
REDIRECT_STATUS
200
REMOTE_ADDR
156.255.43.189
REMOTE_PORT
50161
REQUEST_METHOD
GET
REQUEST_URI
/
SCRIPT_FILENAME
/usr/home/hyu4733560001/htdocs/index.phphtml
SCRIPT_NAME
/index.phphtml
SERVER_ADDR
118.178.184.98
SERVER_ADMIN
webmaster@hyu4733560001.my3w.com
SERVER_NAME
www.baock.com
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
UNIQUE_ID
Xy-gGwobX6UAAAPsK4cAAAAR
PHP_SELF
/index.phphtml
REQUEST_TIME_FLOAT
1596973083.845
REQUEST_TIME
1596973083
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/data/home/hyu4733560001/htdocs/application/
THINK_VERSION
5.0.15
THINK_START_TIME
1596973083.8461
THINK_START_MEM
345824
EXT
.phphtml
DS
/
THINK_PATH
/data/home/hyu4733560001/htdocs/thinkphp/
LIB_PATH
/data/home/hyu4733560001/htdocs/thinkphp/library/
CORE_PATH
/data/home/hyu4733560001/htdocs/thinkphp/library/think/
TRAIT_PATH
/data/home/hyu4733560001/htdocs/thinkphp/library/traits/
ROOT_PATH
/data/home/hyu4733560001/htdocs/
EXTEND_PATH
/data/home/hyu4733560001/htdocs/extend/
VENDOR_PATH
/data/home/hyu4733560001/htdocs/vendor/
RUNTIME_PATH
/data/home/hyu4733560001/htdocs/runtime/
LOG_PATH
/data/home/hyu4733560001/htdocs/runtime/log/
CACHE_PATH
/data/home/hyu4733560001/htdocs/runtime/cache/
TEMP_PATH
/data/home/hyu4733560001/htdocs/runtime/temp/
CONF_PATH
/data/home/hyu4733560001/htdocs/application/
CONF_EXT
.phphtml
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/data/home/hyu4733560001/htdocs/addons/
玉和娱乐平台必威体育网页版必威体育网页版