[2002] PDOException in Connection.php line 295

SQLSTATE[HY000] [2002] No such file or directory

  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() in Connection.php line 295
  3. at Connection->connect() in Connection.php line 995
  4. at Connection->initConnect() in Connection.php line 348
  5. at Connection->query()
  6. at call_user_func_array() in Db.php line 178
  7. at Db::__callStatic() in Index.php line 64
  8. at Index->fanyi_article_title()
  9. at ReflectionMethod->invokeArgs() in App.php line 343
  10. at App::invokeMethod() in App.php line 611
  11. at App::module() in App.php line 456
  12. at App::exec() in App.php line 139
  13. at App::run() in start.php line 19
  14. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data

content
Is the Pokémon TCG Pocket Premium Pass worth buying?
to
fr
POST Data
empty
Files
empty

Cookies

myip
65.21.47.162
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_COOKIE
myip=65.21.47.162
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1)
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_title
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
29128
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_title?content=Is+the+Pok%C3%A9mon+TCG+Pocket+Premium+Pass+worth+buying%3F&to=fr
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
GET
QUERY_STRING
s=/api/index/fanyi_article_title&content=Is+the+Pok%C3%A9mon+TCG+Pocket+Premium+Pass+worth+buying%3F&to=fr
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1730703418.2287
REQUEST_TIME
1730703418
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1730703418.2294
THINK_START_MEM
410160
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/
-Guide du jeu mobile-php.cn System Error

[2002] PDOException in Connection.php line 295

SQLSTATE[HY000] [2002] No such file or directory

  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() in Connection.php line 295
  3. at Connection->connect() in Connection.php line 995
  4. at Connection->initConnect() in Connection.php line 348
  5. at Connection->query()
  6. at call_user_func_array() in Db.php line 178
  7. at Db::__callStatic() in Index.php line 64
  8. at Index->fanyi_article_title()
  9. at ReflectionMethod->invokeArgs() in App.php line 343
  10. at App::invokeMethod() in App.php line 611
  11. at App::module() in App.php line 456
  12. at App::exec() in App.php line 139
  13. at App::run() in start.php line 19
  14. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data

content
Pokémon TCG Pocket has a monthly subscription called the Premium Pass. The shiny golden ticket may entice you on the home screen, but should you buy it? Is it worth buying?We explain below, breaking down the math, if the Pokémon TCG Pocket Premium Pa
to
fr
POST Data
empty
Files
empty

Cookies

myip
65.21.47.162
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_COOKIE
myip=65.21.47.162
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1)
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_title
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
29132
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_title?content=Pok%C3%A9mon+TCG+Pocket+has+a+monthly+subscription+called+the+Premium+Pass.+The+shiny+golden+ticket+may+entice+you+on+the+home+screen%2C+but+should+you+buy+it%3F+Is+it+worth+buying%3FWe+explain+below%2C+breaking+down+the+math%2C+if+the+Pok%C3%A9mon+TCG+Pocket+Premium+Pa&to=fr
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
GET
QUERY_STRING
s=/api/index/fanyi_article_title&content=Pok%C3%A9mon+TCG+Pocket+has+a+monthly+subscription+called+the+Premium+Pass.+The+shiny+golden+ticket+may+entice+you+on+the+home+screen%2C+but+should+you+buy+it%3F+Is+it+worth+buying%3FWe+explain+below%2C+breaking+down+the+math%2C+if+the+Pok%C3%A9mon+TCG+Pocket+Premium+Pa&to=fr
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1730703418.4515
REQUEST_TIME
1730703418
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1730703418.4519
THINK_START_MEM
410640
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/
"/> System Error

[2002] PDOException in Connection.php line 295

SQLSTATE[HY000] [2002] No such file or directory

  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() in Connection.php line 295
  3. at Connection->connect() in Connection.php line 995
  4. at Connection->initConnect() in Connection.php line 348
  5. at Connection->query()
  6. at call_user_func_array() in Db.php line 178
  7. at Db::__callStatic() in Index.php line 64
  8. at Index->fanyi_article_title()
  9. at ReflectionMethod->invokeArgs() in App.php line 343
  10. at App::invokeMethod() in App.php line 611
  11. at App::module() in App.php line 456
  12. at App::exec() in App.php line 139
  13. at App::run() in start.php line 19
  14. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data

content
Pokémon TCG Pocket has a monthly subscription called the Premium Pass. The shiny golden ticket may entice you on the home screen, but should you buy it? Is it worth buying?We explain below, breaking down the math, if the Pokémon TCG Pocket Premium Pa
to
fr
POST Data
empty
Files
empty

Cookies

myip
65.21.47.162
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_COOKIE
myip=65.21.47.162
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1)
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_title
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
29132
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_title?content=Pok%C3%A9mon+TCG+Pocket+has+a+monthly+subscription+called+the+Premium+Pass.+The+shiny+golden+ticket+may+entice+you+on+the+home+screen%2C+but+should+you+buy+it%3F+Is+it+worth+buying%3FWe+explain+below%2C+breaking+down+the+math%2C+if+the+Pok%C3%A9mon+TCG+Pocket+Premium+Pa&to=fr
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
GET
QUERY_STRING
s=/api/index/fanyi_article_title&content=Pok%C3%A9mon+TCG+Pocket+has+a+monthly+subscription+called+the+Premium+Pass.+The+shiny+golden+ticket+may+entice+you+on+the+home+screen%2C+but+should+you+buy+it%3F+Is+it+worth+buying%3FWe+explain+below%2C+breaking+down+the+math%2C+if+the+Pok%C3%A9mon+TCG+Pocket+Premium+Pa&to=fr
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1730703418.4515
REQUEST_TIME
1730703418
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1730703418.4519
THINK_START_MEM
410640
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/
"> "} } ] } ]

Maison  >  Article  >  Tutoriel de jeu mobile  >  System Error

[2002] PDOException in Connection.php line 295

SQLSTATE[HY000] [2002] No such file or directory

  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() in Connection.php line 295
  3. at Connection->connect() in Connection.php line 995
  4. at Connection->initConnect() in Connection.php line 348
  5. at Connection->query()
  6. at call_user_func_array() in Db.php line 178
  7. at Db::__callStatic() in Index.php line 64
  8. at Index->fanyi_article_title()
  9. at ReflectionMethod->invokeArgs() in App.php line 343
  10. at App::invokeMethod() in App.php line 611
  11. at App::module() in App.php line 456
  12. at App::exec() in App.php line 139
  13. at App::run() in start.php line 19
  14. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data

content
Is the Pokémon TCG Pocket Premium Pass worth buying?
to
fr
POST Data
empty
Files
empty

Cookies

myip
65.21.47.162
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_COOKIE
myip=65.21.47.162
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1)
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_title
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
29128
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_title?content=Is+the+Pok%C3%A9mon+TCG+Pocket+Premium+Pass+worth+buying%3F&to=fr
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
GET
QUERY_STRING
s=/api/index/fanyi_article_title&content=Is+the+Pok%C3%A9mon+TCG+Pocket+Premium+Pass+worth+buying%3F&to=fr
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1730703418.2287
REQUEST_TIME
1730703418
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1730703418.2294
THINK_START_MEM
410160
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/

System Error

[2002] PDOException in Connection.php line 295

SQLSTATE[HY000] [2002] No such file or directory

  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() in Connection.php line 295
  3. at Connection->connect() in Connection.php line 995
  4. at Connection->initConnect() in Connection.php line 348
  5. at Connection->query()
  6. at call_user_func_array() in Db.php line 178
  7. at Db::__callStatic() in Index.php line 64
  8. at Index->fanyi_article_title()
  9. at ReflectionMethod->invokeArgs() in App.php line 343
  10. at App::invokeMethod() in App.php line 611
  11. at App::module() in App.php line 456
  12. at App::exec() in App.php line 139
  13. at App::run() in start.php line 19
  14. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data

content
Is the Pokémon TCG Pocket Premium Pass worth buying?
to
fr
POST Data
empty
Files
empty

Cookies

myip
65.21.47.162
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_COOKIE
myip=65.21.47.162
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1)
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_title
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
29128
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_title?content=Is+the+Pok%C3%A9mon+TCG+Pocket+Premium+Pass+worth+buying%3F&to=fr
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
GET
QUERY_STRING
s=/api/index/fanyi_article_title&content=Is+the+Pok%C3%A9mon+TCG+Pocket+Premium+Pass+worth+buying%3F&to=fr
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1730703418.2287
REQUEST_TIME
1730703418
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1730703418.2294
THINK_START_MEM
410160
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/

Mary-Kate Olsen
Mary-Kate Olsenoriginal
2024-11-04 14:55:02928parcourir

Pokémon TCG Pocket propose un abonnement mensuel appelé Premium Pass. Le ticket doré brillant peut vous attirer sur l’écran d’accueil, mais devriez-vous l’acheter ? Vaut-il la peine d'acheter ?

Nous expliquons ci-dessous, en décomposant les calculs, si le Pokémon TCG Pocket Premium Pass vaut la peine d'être acheté et expliquons quel est le meilleur moment pour activer votre Premium gratuit de deux semaines. L'essai du Pass peut l'être.

Le Pass Premium vaut-il la peine d'être acheté dans Pokémon TCG Pocket ?

Oui, le pass en vaut la peine si vous voulez des packs et que vous prévoyez d'investir de l'argent dans le jeu, tout en jouant quotidiennement. Voici nos calculs pour expliquer :

Le pass coûte 9,99$ par mois et il dure 30 jours.

Pour 9,99$ vous pouvez obtenir 57 Poké Gold à son tarif habituel ou 72 Poké Gold dans le cadre du vente « célébration de la sortie ». Un Poké Gold réduit le chronomètre du pack de deux heures (donc six Poké Gold vous accordent un cycle complet du pack, réduisant le chronomètre de 12 heures). Cela signifie que pour 9,99 $, vous pouvez obtenir neuf ou 12 packs, selon le pack d'or que vous achetez.

Le Pass Premium vous offre les avantages suivants :

  • Prime mensuelle missions qui récompensent 11 packs de sabliers, huit sabliers de merveille et 29 tickets premium, si vous terminez toutes les missions requises
  • Un pack supplémentaire par 24 heures (comme indiqué par un minuteur Delibird qui apparaîtra sur votre écran d'accueil)
  • Accès à la Boutique Premium, où vous pouvez acheter des cartes promotionnelles spéciales et des accessoires de deck en échange de billets Premium

Cela étant dit, le pass peut vous rapporter au moins 30 packs pour 9,99 $, à condition que vous vous connectiez tous les jours pour réclamer ce pack supplémentaire, cela en vaut la peine bien plus que simplement payer de l'or pour 9,99 $.

Les missions premium sont également assez faciles à accomplir en jouant simplement au jeu : elles sont chargées de tâches qui impliquent simplement d'ouvrir des packs ou de trouver des types spécifiques de cartes. Donc, si vous ouvrez simplement vos packs quotidiens, vous accomplirez probablement ces missions, vous rapportant toutes les récompenses, et donc des produits cosmétiques supplémentaires.

Quand dois-je utiliser l'essai gratuit du Premium Pass ?

Il y a quelques points à garder à l'esprit si vous essayez de rester free-to-play et souhaitez réclamer stratégiquement votre essai gratuit de deux semaines du Premium Pass : le temps de réinitialisation des missions et les objets à collectionner dans la boutique Premium. Malheureusement, depuis le lancement du jeu, nous n'avons pas d'expérience concrète sur le fonctionnement de ces chronomètres de mission et de ces rotations de magasins. Nous allons donc travailler avec les chronomètres en jeu que nous voyons actuellement.

System Error

[2002] PDOException in Connection.php line 295

SQLSTATE[HY000] [2002] No such file or directory

<ol start="286"><li class="line-286"><code>                $this->fetchType = $config['result_type'];
</code></li><li class="line-287"><code>            }
</code></li><li class="line-288"><code>            try {
</code></li><li class="line-289"><code>                if (empty($config['dsn'])) {
</code></li><li class="line-290"><code>                    $config['dsn'] = $this->parseDsn($config);
</code></li><li class="line-291"><code>                }
</code></li><li class="line-292"><code>                if ($config['debug']) {
</code></li><li class="line-293"><code>                    $startTime = microtime(true);
</code></li><li class="line-294"><code>                }
</code></li><li class="line-295"><code>                $this->links[$linkNum] = new PDO($config['dsn'], $config['username'], $config['password'], $params);
</code></li><li class="line-296"><code>                if ($config['debug']) {
</code></li><li class="line-297"><code>                    // 记录数据库连接信息
</code></li><li class="line-298"><code>                    Log::record('[ DB ] CONNECT:[ UseTime:' . number_format(microtime(true) - $startTime, 6) . 's ] ' . $config['dsn'], 'sql');
</code></li><li class="line-299"><code>                }
</code></li><li class="line-300"><code>            } catch (\PDOException $e) {
</code></li><li class="line-301"><code>                if ($autoConnection) {
</code></li><li class="line-302"><code>                    Log::record($e->getMessage(), 'error');
</code></li><li class="line-303"><code>                    return $this->connect($autoConnection, $linkNum);
</code></li><li class="line-304"><code>                } else {
</code></li></ol>

Call Stack

  1. in Connection.php line 295
  2. at PDO->__construct() in Connection.php line 295
  3. at Connection->connect() in Connection.php line 995
  4. at Connection->initConnect() in Connection.php line 348
  5. at Connection->query()
  6. at call_user_func_array() in Db.php line 178
  7. at Db::__callStatic() in Index.php line 141
  8. at Index->fanyi_article_content()
  9. at ReflectionMethod->invokeArgs() in App.php line 343
  10. at App::invokeMethod() in App.php line 611
  11. at App::module() in App.php line 456
  12. at App::exec() in App.php line 139
  13. at App::run() in start.php line 19
  14. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data
empty

POST Data

content
%3Cp%3EAssuming+that+the+missions+didn%E2%80%99t+reset+on+Nov.+1+because+the+game+launched+on+Oct.+30+%28and+thus+would+only+give+you+around+two+days+to+complete%29+and+assuming+that+they+will+reset+on+Dec.+1%2C+%3Cstrong%3Ethe+best+time+to+redeem+the+free+trial+would+any+time+during+the+week+before+Dec.+1%3C%2Fstrong%3E.+This+would+allow+you+to+claim+two+months+worth+of+missions%2C+thus+double+the+rewards%2C+allowing+you+to+get+22+Pack+Hourglasses%2C+16+Wonder+Hourglasses%2C+and+58+Premium+Tickets.+%28The+missions+do+complete+even+when+you+don%E2%80%99t+own+the+Premium+Pass+%E2%80%94+you+just+need+the+pass+to+claim+the+rewards.%29%3C%2Fp%3E%3Cp%3E%3Cimg+src%3D%22https%3A%2F%2Fimg.php.cn%2Fupload%2Farticle%2F000%2F000%2F000%2F173070333275945.jpg%22+alt%3D%22Is+the+Pok%C3%A9mon+TCG+Pocket+Premium+Pass+worth+buying%3F%22+%2F%3E%3C%2Fp%3E%3Cp%3EImage%3A+Creatures%2C+DeNA%2FThe+Pok%C3%A9mon+Company+via+Polygon%3C%2Fp%3E%3Cp%3EThe+next+thing+to+keep+in+mind+is+what%E2%80%99s+in+the+Premium+Pass+shop.+As+of+this+writing%2C+there%E2%80%99s+a+Pikachu+promo+card+and+Mewtwo-themed+accessories.+The+Pikachu+card+has+no+timer+on+it%2C+though+the+Mewtwo+accessories+have+a+timer+set+for+Jan.+1%2C+2025%2C+which+is+when+it%E2%80%99s+assumed+that+these+accessories+will+rotate+out+and+get+replaced+with+a+different+cosmetic+theme.+If+you+hate+Mewtwo%2C+you+may+want+to+hold+on+to+your+Premium+Pass+free+trial+until+these+change.%3C%2Fp%3E%3Cp%3EThat+all+being+said%2C+again%2C+this+is+working+off+some+assumptions.+Feel+free+to+hold+on+to+your+free+trial+if+you+hate+Mewtwo+or+want+to+try+to+maximize+it+in+late+November%2C+but+we+also+can%E2%80%99t+promise+that+the+pass+will+work+that+way%2C+yet.+%28We%E2%80%99ll+update+this+guide+down+the+line+when+we+can+confirm+more+information%2C+though.%29%3C%2Fp%3E
to
fr
Files
empty
Cookies
empty
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_LENGTH
2552
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_ACCEPT
*/*
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_content
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
29124
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_content
SCRIPT_NAME
/index.php
CONTENT_LENGTH
2552
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
POST
QUERY_STRING
s=/api/index/fanyi_article_content
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1730703418.0016
REQUEST_TIME
1730703418
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1730703418.0023
THINK_START_MEM
417144
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/
<script> var LINE = 295; function $(selector, node){ var elements; node = node || document; if(document.querySelectorAll){ elements = node.querySelectorAll(selector); } else { switch(selector.substr(0, 1)){ case '#': elements = [node.getElementById(selector.substr(1))]; break; case '.': if(document.getElementsByClassName){ elements = node.getElementsByClassName(selector.substr(1)); } else { elements = get_elements_by_class(selector.substr(1), node); } break; default: elements = node.getElementsByTagName(); } } return elements; function get_elements_by_class(search_class, node, tag) { var elements = [], eles, pattern = new RegExp('(^|\\s)' + search_class + '(\\s|$)'); node = node || document; tag = tag || '*'; eles = node.getElementsByTagName(tag); for(var i = 0; i < eles.length; i++) { if(pattern.test(eles[i].className)) { elements.push(eles[i]) } } return elements; } } $.getScript = function(src, func){ var script = document.createElement('script'); script.async = 'async'; script.src = src; script.onload = func || function(){}; $('head')[0].appendChild(script); } ;(function(){ var files = $('.toggle'); var ol = $('ol', $('.prettyprint')[0]); var li = $('li', ol[0]); // 短路径和长路径变换 for(var i = 0; i < files.length; i++){ files[i].ondblclick = function(){ var title = this.title; this.title = this.innerHTML; this.innerHTML = title; } } // 设置出错行 var err_line = $('.line-' + LINE, ol[0])[0]; err_line.className = err_line.className + ' line-error'; $.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){ prettyPrint(); // 解决Firefox浏览器一个很诡异的问题 // 当代码高亮后,ol的行号莫名其妙的错位 // 但是只要刷新li里面的html重新渲染就没有问题了 if(window.navigator.userAgent.indexOf('Firefox') >= 0){ ol[0].innerHTML = ol[0].innerHTML; } }); })(); </script>

Ce qui précède est le contenu détaillé de. pour plus d'informations, suivez d'autres articles connexes sur le site Web de PHP en chinois!

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn