return $this->PDOStatement;
} catch (\Throwable | \Exception $e) {
if ($this->reConnectTimes < 4 && $this->isBreak($e)) {
++$this->reConnectTimes;
return $this->close()->getPDOStatement($sql, $bind, $master, $procedure);
}
if ($e instanceof \PDOException) {
throw new PDOException($e, $this->config, $this->getLastsql());
} else {
throw $e;
}
}
}
/**
* 执行语句
* @access protected
SQLSTATE | HY000 |
Driver Error Code | 2002 |
Driver Error Message | Connection refused |
Error Code | 10501 |
Error Message | SQLSTATE[HY000] [2002] Connection refused |
Error SQL |
type | mysql |
hostname | 127.0.0.1 |
database | xfz3_tywl88_com |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | pcf_ |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | true |
fields_cache | false |
trigger_sql | false |
builder | |
query | |
break_reconnect | false |
break_match_str | [] |
schema_cache_path | /www/wwwroot/xfz3.tywl88.com/runtime/schema/ |
seoarea | 476 |
dizhi | zhugongxiang |
USER | www |
HOME | /home/www |
HTTP_X_FORWARDED_FOR | 182.88.253.164 |
HTTP_CLIENT_IP | 182.88.253.164 |
HTTP_USER_AGENT | Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0) |
HTTP_ACCEPT_LANGUAGE | zh-Hans-CN,zh-Hans;q=0.8,en-US;q=0.5,en;q=0.3 |
HTTP_PRAGMA | no-cache |
HTTP_ACCEPT | text/html, application/xhtml+xml, */* |
HTTP_CONNECTION | Keep-Alive |
HTTP_REFERER | https://s0.wp.com/mshots/v1/ |
HTTP_HOST | tywl88.com |
PATH_INFO | /anlidetail |
REDIRECT_STATUS | 200 |
SERVER_NAME | xfz3.tywl88.com |
SERVER_PORT | 80 |
SERVER_ADDR | 192.168.0.237 |
REMOTE_PORT | 56662 |
REMOTE_ADDR | 110.41.4.233 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/xfz3.tywl88.com/public |
DOCUMENT_URI | /index.php/anlidetail |
REQUEST_URI | /index.php/anlidetail?seoarea=476&dizhi=zhugongxiang |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | seoarea=476&dizhi=zhugongxiang |
SCRIPT_FILENAME | /www/wwwroot/xfz3.tywl88.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php/anlidetail |
REQUEST_TIME_FLOAT | 1698474218.8415 |
REQUEST_TIME | 1698474218 |