$this->debug(false, '', $master);
// 返回结果集
return $this->getResult($pdo, $procedure);
} catch (\PDOException $e) {
if ($this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
}
throw new PDOException($e, $this->config, $this->getLastsql());
} catch (\Throwable $e) {
if ($this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
}
throw $e;
} catch (\Exception $e) {
if ($this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
SQLSTATE | 42000 |
Driver Error Code | 1064 |
Driver Error Message | You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') )' at line 1 |
Error Code | 10501 |
Error Message | SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') )' at line 1 |
Error SQL | SELECT `path` FROM `wp_picture` WHERE ( id in () ) |
type | mysql |
hostname | rm-bp1q9dlf0iul1h0y6.mysql.rds.aliyuncs.com |
database | wp5 |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8mb4 |
prefix | wp_ |
debug | true |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | false |
resultset_type | array |
auto_timestamp | false |
datetime_format | Y-m-d H:i:s |
sql_explain | false |
builder | |
query | \think\db\Query |
break_reconnect | false |
break_match_str | [] |
data_auth_key | dZ^BFQ5Nh`/V9]I(LWJ$[Uo#=".CzPmwg:GY}@x2 |
UNIQUE_ID | ZgXdg4@Az0dv8Q4IdsC22AAAAAE |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_REFERER | http://wuhuye.net/product/9.html |
HTTP_HOST | www.wuhuye.net |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/lampp/bin:/root/bin |
LD_LIBRARY_PATH | /opt/lampp/lib:/opt/lampp/lib |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache/2.4.39 (Unix) OpenSSL/1.0.2s PHP/7.3.7 mod_perl/2.0.8-dev Perl/v5.16.3 |
SERVER_NAME | www.wuhuye.net |
SERVER_ADDR | 172.16.7.172 |
SERVER_PORT | 80 |
REMOTE_ADDR | 54.211.203.45 |
DOCUMENT_ROOT | /website/wuhuye.net/public |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /website/wuhuye.net/public |
SERVER_ADMIN | wuhuye |
SCRIPT_FILENAME | /website/wuhuye.net/public/index.php |
REMOTE_PORT | 49354 |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /index.php/product/9.html |
SCRIPT_NAME | /index.php |
PATH_INFO | /product/9.html |
PATH_TRANSLATED | redirect:/index.php/product/9.html/9.html |
PHP_SELF | /index.php/product/9.html |
REQUEST_TIME_FLOAT | 1711660419.298 |
REQUEST_TIME | 1711660419 |
DB_PREFIX | wp_ |