$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 | 42S22 |
Driver Error Code | 1054 |
Driver Error Message | Unknown column 'fans_num' in 'where clause' |
Error Code | 10501 |
Error Message | SQLSTATE[42S22]: Column not found: 1054 Unknown column 'fans_num' in 'where clause' |
Error SQL | SELECT COUNT(*) AS tp_count FROM `fagao_res` `a` LEFT JOIN `fagaoba`.`fagao_res_ext_1` `b` ON `a`.`id`=`b`.`res_id` WHERE `res_type_id` = 1 AND `statu` = 1 AND `fans_num` > '200000' AND `fans_num` < '500000' |
type | mysql |
hostname | fagaoba123456789.mysql.rds.aliyuncs.com |
database | fagaoba |
hostport | |
dsn | |
params | [] |
charset | utf8 |
prefix | fgb_ |
debug | true |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | true |
resultset_type | array |
auto_timestamp | true |
datetime_format | Y-m-d H:i:s |
sql_explain | false |
builder | |
query | \think\db\Query |
break_reconnect | false |
break_match_str | [] |
stype | weixin |
class | 服装 |
fans_num | 200000-500000 |
USER | www |
HOME | /home/www |
HTTP_HOST | www.fagaoba.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.fagaoba.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.17.1.40 |
REMOTE_PORT | 40132 |
REMOTE_ADDR | 44.222.220.101 |
SERVER_SOFTWARE | nginx/1.15.9 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.fagaoba.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /mtzy/?stype=weixin&class=%E6%9C%8D%E8%A3%85&fans_num=200000-500000 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/mtzy/&stype=weixin&class=%E6%9C%8D%E8%A3%85&fans_num=200000-500000 |
SCRIPT_FILENAME | /www/wwwroot/www.fagaoba.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711835.0672 |
REQUEST_TIME | 1711711835 |