Deprecated: Return type of Tightenco\Collect\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/tightenco/collect/src/Collect/Support/Collection.php on line 1354

Deprecated: Return type of Tightenco\Collect\Support\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/tightenco/collect/src/Collect/Support/Collection.php on line 1365

Deprecated: Return type of Tightenco\Collect\Support\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/tightenco/collect/src/Collect/Support/Collection.php on line 1377

Deprecated: Return type of Tightenco\Collect\Support\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/tightenco/collect/src/Collect/Support/Collection.php on line 1392

Deprecated: Return type of Tightenco\Collect\Support\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/tightenco/collect/src/Collect/Support/Collection.php on line 1309

Deprecated: Return type of Tightenco\Collect\Support\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/tightenco/collect/src/Collect/Support/Collection.php on line 1299

Deprecated: Return type of Tightenco\Collect\Support\Collection::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/tightenco/collect/src/Collect/Support/Traits/EnumeratesValues.php on line 781

Deprecated: Return type of Tightenco\Collect\Support\LazyCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/tightenco/collect/src/Collect/Support/LazyCollection.php on line 1331

Deprecated: Return type of Tightenco\Collect\Support\LazyCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/tightenco/collect/src/Collect/Support/LazyCollection.php on line 1321

Deprecated: Return type of Tightenco\Collect\Support\LazyCollection::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/tightenco/collect/src/Collect/Support/Traits/EnumeratesValues.php on line 781

Deprecated: Return type of think\Container::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/topthink/framework/src/think/Container.php on line 523

Deprecated: Return type of think\Container::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/topthink/framework/src/think/Container.php on line 528

Deprecated: Return type of think\Container::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/topthink/framework/src/think/Container.php on line 533

Deprecated: Return type of think\Container::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/topthink/framework/src/think/Container.php on line 538

Deprecated: Return type of think\Container::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/topthink/framework/src/think/Container.php on line 550

Deprecated: Return type of think\Container::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/topthink/framework/src/think/Container.php on line 544

Deprecated: Return type of think\Env::offsetGet($name) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/topthink/framework/src/think/Env.php on line 177

Deprecated: Return type of think\Env::offsetUnset($name) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/test.ycsdjt.com/vendor/topthink/framework/src/think/Env.php on line 172
系统发生错误

#0 [10501]PDOException in PDOConnection.php line 768

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

  1. return $this->PDOStatement;
  2. } catch (\Throwable | \Exception $e) {
  3. if ($this->reConnectTimes < 4 && $this->isBreak($e)) {
  4. ++$this->reConnectTimes;
  5. return $this->close()->getPDOStatement($sql, $bind, $master, $procedure);
  6. }
  7. if ($e instanceof \PDOException) {
  8. throw new PDOException($e, $this->config, $this->getLastsql());
  9. } else {
  10. throw $e;
  11. }
  12. }
  13. }
  14. /**
  15. * 执行语句
  16. * @access protected

Call Stack

  1. in PDOConnection.php line 768
  2. at PDOConnection->getPDOStatement() in Mysql.php line 66
  3. at Mysql->getFields() in PDOConnection.php line 396
  4. at PDOConnection->getTableFieldsInfo() in PDOConnection.php line 336
  5. at PDOConnection->getSchemaInfo() in PDOConnection.php line 383
  6. at PDOConnection->getTableInfo() in PDOConnection.php line 467
  7. at PDOConnection->getFieldsType() in TableFieldInfo.php line 58
  8. at Query->getFieldsType() in TableFieldInfo.php line 81
  9. at Query->getFieldsBindType() in Builder.php line 328
  10. at Builder->buildWhere() in Builder.php line 299
  11. at Builder->parseWhere() in Mysql.php line 94
  12. at Mysql->select() in PDOConnection.php line 1087
  13. at PDOConnection->value() in BaseQuery.php line 263
  14. at BaseQuery->value() in Index.php line 19
  15. at Index->initialize() in BaseController.php line 52
  16. at BaseController->__construct()
  17. at ReflectionClass->newInstanceArgs() in Container.php line 394
  18. at Container->invokeClass() in Container.php line 251
  19. at Container->make() in Controller.php line 176
  20. at Controller->controller() in Controller.php line 74
  21. at Controller->exec() in Dispatch.php line 89
  22. at Dispatch->run() in Route.php line 772
  23. at Route->think\{closure}() in Pipeline.php line 59
  24. at Pipeline->think\{closure}() in Pipeline.php line 66
  25. at Pipeline->then() in Route.php line 771
  26. at Route->dispatch() in Http.php line 216
  27. at Http->dispatchToRoute() in Http.php line 206
  28. at Http->think\{closure}() in Pipeline.php line 59
  29. at Pipeline->think\{closure}() in SessionInit.php line 67
  30. at SessionInit->handle()
  31. at call_user_func() in Middleware.php line 142
  32. at Middleware->think\{closure}() in Pipeline.php line 85
  33. at Pipeline->think\{closure}() in TraceDebug.php line 71
  34. at TraceDebug->handle()
  35. at call_user_func() in Middleware.php line 142
  36. at Middleware->think\{closure}() in Pipeline.php line 85
  37. at Pipeline->think\{closure}() in Pipeline.php line 66
  38. at Pipeline->then() in Http.php line 205
  39. at Http->runWithRequest() in Http.php line 170
  40. at Http->run() in index.php line 28

Exception Datas

PDO Error Info
SQLSTATE HY000
Driver Error Code 1045
Driver Error Message Access denied for user 'root'@'localhost' (using password: YES)
Database Status
Error Code 10501
Error Message SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
Error SQL
Database Config
type mysql
hostname 127.0.0.1
database ystx_ycsdjt_com
hostport 3306
dsn
params { "1002": "SET SESSION sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'" }
charset utf8mb4
prefix ddwx_
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict true
fields_cache false
trigger_sql 1
builder
query
break_reconnect true
break_match_str []
socket

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
PATH_INFO
HTTP_HOST test.ycsdjt.com
REDIRECT_STATUS 200
SERVER_NAME test.ycsdjt.com
SERVER_PORT 443
SERVER_ADDR 172.23.97.158
REMOTE_PORT 7008
REMOTE_ADDR 216.73.217.74
SERVER_SOFTWARE nginx/1.30.7
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/test.ycsdjt.com
DOCUMENT_URI /index.php
REQUEST_URI /
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/wwwroot/test.ycsdjt.com/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1795250628.0749
REQUEST_TIME 1795250628