}
} 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 | 42S22 |
Driver Error Code | 1054 |
Driver Error Message | Unknown column 'name' in 'where clause' |
Error Code | 10501 |
Error Message | SQLSTATE[42S22]: Column not found: 1054 Unknown column 'name' in 'where clause' |
Error SQL | SELECT COUNT(*) AS think_count FROM `wdphp_website` WHERE ( `name` LIKE '%老师%' OR `keywords` LIKE '%老师%' OR `url` LIKE '%老师%' ) AND `status` = 1 AND `plan_time` <= 1711727826 LIMIT 1 |
type | mysql |
hostname | 127.0.0.1 |
database | v3_zydir_com |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | wdphp_ |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | true |
fields_cache | true |
trigger_sql | false |
builder | |
query | |
break_reconnect | false |
break_match_str | [] |
auto_param_bind | true |
schema_cache_path | /www/wwwroot/v3.zydir.com/runtime/schema/ |
keywords | 老师 |
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | zydir.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | v3.zydir.com |
SERVER_PORT | 443 |
SERVER_ADDR | 122.114.10.16 |
REMOTE_PORT | 50830 |
REMOTE_ADDR | 35.173.254.36 |
SERVER_SOFTWARE | nginx/1.22.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/v3.zydir.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /website/index.html?keywords=%E8%80%81%E5%B8%88 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/website/index.html&keywords=%E8%80%81%E5%B8%88 |
SCRIPT_FILENAME | /www/wwwroot/v3.zydir.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711727826.1373 |
REQUEST_TIME | 1711727826 |