}
} else {
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 | 1040 |
Driver Error Message | Too many connections |
Error Code | 10501 |
Error Message | SQLSTATE[HY000] [1040] Too many connections |
Error SQL |
type | mysql |
hostname | 127.0.0.1 |
database | piliang_chengman |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8mb4 |
prefix | cms_ |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | true |
fields_cache | false |
trigger_sql | true |
builder | |
query | |
break_reconnect | false |
break_match_str | [] |
auto_param_bind | true |
debug | false |
USER | www |
HOME | /home/www |
HTTP_HOST | www.xtrfj.cn |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | piliang.chengmang.com |
SERVER_PORT | 80 |
SERVER_ADDR | 10.0.4.17 |
REMOTE_PORT | 45402 |
REMOTE_ADDR | 35.175.212.5 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/piliang.chengmang.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/piliang.chengmang.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711663594.4385 |
REQUEST_TIME | 1711663594 |