$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 'exhibitions_select) )' 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 'exhibitions_select) )' at line 1 |
Error SQL | SELECT COUNT(*) AS tp_count FROM `mt_thermal_list_details` WHERE `status` = 0 AND ( find_in_set(,exhibitions_select) ) |
type | mysql |
hostname | 127.0.0.1 |
database | zhmw |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | mt_ |
debug | true |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | true |
resultset_type | collection |
auto_timestamp | false |
datetime_format | false |
sql_explain | true |
builder | |
query | \think\db\Query |
break_reconnect | false |
break_match_str | [] |
authcode | O1AZBekLbvzEr2yD02 |
id | |
type | 2 |
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/wwwroot/zhonghuameiwang.com/public/index.php |
QUERY_STRING | s=/api/yizhan/detail.html&id=&&type=2 |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /api/yizhan/detail.html?id=&&type=2 |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/wwwroot/zhonghuameiwang.com/public |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.16.1 |
REMOTE_ADDR | 34.228.40.212 |
REMOTE_PORT | 59078 |
SERVER_ADDR | 211.149.206.106 |
SERVER_PORT | 80 |
SERVER_NAME | zhonghuameiwang.com |
REDIRECT_STATUS | 200 |
PATH_INFO | |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | zhonghuameiwang.com |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711727792.9714 |
REQUEST_TIME | 1711727792 |
APP_DEBUG | true |
CMF_ROOT | /home/wwwroot/zhonghuameiwang.com/ |
CMF_DATA | /home/wwwroot/zhonghuameiwang.com/data/ |
APP_PATH | /home/wwwroot/zhonghuameiwang.com/app/ |
WEB_ROOT | /home/wwwroot/zhonghuameiwang.com/public/ |
HTMLPURIFIER_PREFIX | /home/wwwroot/zhonghuameiwang.com/vendor/ezyang/htmlpurifier/library |