联系电话:400-024-7188
是什么让金牌家政成为辽沈地区的顶级家政服务?
标准化工作流程
金牌家政每一位服务人员将严格执行公司制定的科学有效的标准化工作流程。
定制化服务内容
金牌家政为每一位用户提供符合自身需求的定制化服务,同时也是消费者满意的服务。
全方位售后服务保障
金牌家政与用户签订协议后,服务期内合理调换,公司提供全程跟踪服务。
你距离幸福的家只有一步之遥
立即咨询
System Error

[1045] PDOException in Connection.php line 295

SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

  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...', 'root', '', [0, 2, 0, ...]) in Connection.php line 295
  3. at Connection->connect() in Connection.php line 1006
  4. at Connection->initConnect(false) in Connection.php line 348
  5. at Connection->query('SHOW COLUMNS FROM `c...', [], false, true) in Mysql.php line 65
  6. at Mysql->getFields('`config`') in Query.php line 1883
  7. at Query->getTableInfo('config', 'pk') in Query.php line 1917
  8. at Query->getPk(['multi' => ['AND' => ['name' => [['eq', 'info']]]], 'where' => ['AND' => ['name' => ['eq', 'info']]], 'table' => 'config', ...]) in Query.php line 2592
  9. at Query->find() in Super.php line 72
  10. at Super->c('info') in Base.php line 15
  11. at Base->_initialize() in Controller.php line 59
  12. at Controller->__construct(object(Request))
  13. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 359
  14. at App::invokeClass('app\index\controller...') in Loader.php line 479
  15. at Loader::controller('index', 'controller', false, 'Error') in App.php line 581
  16. at App::module(['', null, null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  17. at App::exec(['type' => 'module', 'module' => ['', null, null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  18. at App::run() in start.php line 19
  19. at require('/www/wwwroot/www.syj...') in index.php line 18

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

Hm_lvt_9cb838527079cae63aad3fbc1c9e35da
1679045187
sensorsdata2015jssdkcross
{"distinct_id":"186eee4654244-036ff8c0c6191e-26031851-1327104-186eee46543125","first_id":"","props":{"$latest_traffic_source_type":"直接流量","$latest_search_keyword":"未取到值_直接打开","$latest_referrer":""},"$device_id":"186eee4654244-036ff8c0c6191e-26031851-1327104-186eee46543125"}
__bid_n
186eee46c83686462c91ee
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
Hm_lvt_9cb838527079cae63aad3fbc1c9e35da=1679045187; sensorsdata2015jssdkcross=%7B%22distinct_id%22%3A%22186eee4654244-036ff8c0c6191e-26031851-1327104-186eee46543125%22%2C%22first_id%22%3A%22%22%2C%22props%22%3A%7B%22%24latest_traffic_source_type%22%3A%22%E7%9B%B4%E6%8E%A5%E6%B5%81%E9%87%8F%22%2C%22%24latest_search_keyword%22%3A%22%E6%9C%AA%E5%8F%96%E5%88%B0%E5%80%BC_%E7%9B%B4%E6%8E%A5%E6%89%93%E5%BC%80%22%2C%22%24latest_referrer%22%3A%22%22%7D%2C%22%24device_id%22%3A%22186eee4654244-036ff8c0c6191e-26031851-1327104-186eee46543125%22%7D; __bid_n=186eee46c83686462c91ee
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.9
HTTP_ACCEPT_ENCODING
gzip, deflate
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
HTTP_UPGRADE_INSECURE_REQUESTS
1
HTTP_CONNECTION
keep-alive
HTTP_HOST
www.syjpjz.com
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
www.syjpjz.com
SERVER_PORT
80
SERVER_ADDR
172.17.140.132
REMOTE_PORT
50376
REMOTE_ADDR
118.140.35.55
SERVER_SOFTWARE
nginx/1.8.1
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.syjpjz.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/www.syjpjz.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1679229638.6932
REQUEST_TIME
1679229638
Environment Variables
empty

ThinkPHP Constants

CONF_PATH
/www/wwwroot/www.syjpjz.com/public/../config/
APP_PATH
/www/wwwroot/www.syjpjz.com/public/../application/
THINK_VERSION
5.0.19
THINK_START_TIME
1679229638.6936
THINK_START_MEM
405136
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.syjpjz.com/thinkphp/
LIB_PATH
/www/wwwroot/www.syjpjz.com/thinkphp/library/
CORE_PATH
/www/wwwroot/www.syjpjz.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.syjpjz.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.syjpjz.com/
EXTEND_PATH
/www/wwwroot/www.syjpjz.com/extend/
VENDOR_PATH
/www/wwwroot/www.syjpjz.com/vendor/
RUNTIME_PATH
/www/wwwroot/www.syjpjz.com/runtime/
LOG_PATH
/www/wwwroot/www.syjpjz.com/runtime/log/
CACHE_PATH
/www/wwwroot/www.syjpjz.com/runtime/cache/
TEMP_PATH
/www/wwwroot/www.syjpjz.com/runtime/temp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
QINIU_FUNCTIONS_VERSION
7.2.3
System Error

[1045] PDOException in Connection.php line 295

SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

  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...', 'root', '', [0, 2, 0, ...]) in Connection.php line 295
  3. at Connection->connect() in Connection.php line 1006
  4. at Connection->initConnect(false) in Connection.php line 348
  5. at Connection->query('SHOW COLUMNS FROM `c...', [], false, true) in Mysql.php line 65
  6. at Mysql->getFields('`config`') in Query.php line 1883
  7. at Query->getTableInfo('config', 'pk') in Query.php line 1917
  8. at Query->getPk(['multi' => ['AND' => ['name' => [['eq', 'info']]]], 'where' => ['AND' => ['name' => ['eq', 'info']]], 'table' => 'config', ...]) in Query.php line 2592
  9. at Query->find() in Super.php line 72
  10. at Super->c('info') in Base.php line 15
  11. at Base->_initialize() in Controller.php line 59
  12. at Controller->__construct(object(Request))
  13. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 359
  14. at App::invokeClass('app\index\controller...') in Loader.php line 479
  15. at Loader::controller('service', 'controller', false, 'Error') in App.php line 581
  16. at App::module(['index', 'service', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  17. at App::exec(['type' => 'module', 'module' => ['index', 'service', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  18. at App::run() in start.php line 19
  19. at require('/www/wwwroot/www.syj...') in index.php line 18

Environment Variables

GET Data

cate_id
156
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
www.syjpjz.com
HTTP_ACCEPT_ENCODING
br,gzip
HTTP_IF_MODIFIED_SINCE
Fri, 30 Sep 2022 07:04:36 GMT
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
PATH_INFO
/index/service/index
REDIRECT_STATUS
200
SERVER_NAME
www.syjpjz.com
SERVER_PORT
80
SERVER_ADDR
172.17.140.132
REMOTE_PORT
42834
REMOTE_ADDR
3.236.209.138
SERVER_SOFTWARE
nginx/1.8.1
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.syjpjz.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/index/service/index?cate_id=156
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/service/index&cate_id=156
SCRIPT_FILENAME
/www/wwwroot/www.syjpjz.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1680143100.4384
REQUEST_TIME
1680143100
Environment Variables
empty

ThinkPHP Constants

CONF_PATH
/www/wwwroot/www.syjpjz.com/public/../config/
APP_PATH
/www/wwwroot/www.syjpjz.com/public/../application/
THINK_VERSION
5.0.19
THINK_START_TIME
1680143100.4388
THINK_START_MEM
404176
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.syjpjz.com/thinkphp/
LIB_PATH
/www/wwwroot/www.syjpjz.com/thinkphp/library/
CORE_PATH
/www/wwwroot/www.syjpjz.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.syjpjz.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.syjpjz.com/
EXTEND_PATH
/www/wwwroot/www.syjpjz.com/extend/
VENDOR_PATH
/www/wwwroot/www.syjpjz.com/vendor/
RUNTIME_PATH
/www/wwwroot/www.syjpjz.com/runtime/
LOG_PATH
/www/wwwroot/www.syjpjz.com/runtime/log/
CACHE_PATH
/www/wwwroot/www.syjpjz.com/runtime/cache/
TEMP_PATH
/www/wwwroot/www.syjpjz.com/runtime/temp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
QINIU_FUNCTIONS_VERSION
7.2.3