$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 'p' in 'where clause' |
Error Code | 10501 |
Error Message | SQLSTATE[42S22]: Column not found: 1054 Unknown column 'p' in 'where clause' |
Error SQL | SELECT * FROM `yb_nav` WHERE ( id=p ) LIMIT 1 |
type | mysql |
hostname | 127.0.0.1 |
database | qlyj |
hostport | |
dsn | |
params | [] |
charset | utf8 |
prefix | yb_ |
debug | true |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | true |
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 | [] |
PHPSESSID | 9g5q2tsancn79uf3poknrfn3ke |
USER | www |
HOME | /home/wwwroot |
HTTP_COOKIE | PHPSESSID=9g5q2tsancn79uf3poknrfn3ke |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.scimdq.com |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
PATH_INFO | |
PHP_ADMIN_VALUE | open_basedir=/home/wwwroot/www.scimdq.com/:/home/wwwroot/scimdq/:/tmp/:/proc/ |
REDIRECT_STATUS | 200 |
SERVER_NAME | scql.scimdq.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.18.6.123 |
REMOTE_PORT | 40806 |
REMOTE_ADDR | 104.140.17.122 |
SERVER_SOFTWARE | nginx/1.14.2 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /home/wwwroot/www.scimdq.com |
DOCUMENT_URI | /index.php |
REQUEST_URI | /news/p-12-6.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//news/p-12-6.html |
SCRIPT_FILENAME | /home/wwwroot/www.scimdq.com/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | |
REQUEST_TIME_FLOAT | 1713551313.3726 |
REQUEST_TIME | 1713551313 |
SWOOLE_LIBRARY | true |
APP_DEBUG | false |
APP_PATH | /mnt/ex/wwwroot/www.scimdq.com/app/ |
BIND_MODULE | index |
ROOT_PATH | /mnt/ex/wwwroot/www.scimdq.com/ |
VENDOR_PATH | /mnt/ex/wwwroot/www.scimdq.com/vendor/ |
APP_CACHE_DIR | /mnt/ex/wwwroot/www.scimdq.com/data/ |
DS | / |