$this->numRows = $this->PDOStatement->rowCount();
return $this->numRows;
} catch (\PDOException $e) {
if ($this->isBreak($e)) {
return $this->close()->execute($sql, $bind, $query);
}
throw new PDOException($e, $this->config, $this->getLastsql());
} catch (\Throwable $e) {
if ($this->isBreak($e)) {
return $this->close()->execute($sql, $bind, $query);
}
throw $e;
} catch (\Exception $e) {
if ($this->isBreak($e)) {
return $this->close()->execute($sql, $bind, $query);
SQLSTATE | 22001 |
Driver Error Code | 1406 |
Driver Error Message | Data too long for column 'addr' at row 1 |
Error Code | 10501 |
Error Message | SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'addr' at row 1 |
Error SQL | INSERT INTO `mo_visit_ip` (`ip` , `pro` , `city` , `addr` , `content` , `addtime`) VALUES ('35.173.178.60' , '' , '' , ' 美国弗吉尼亚州阿什本Amazon数据中心' , '{\"ip\":\"35.173.178.60\",\"pro\":\"\",\"proCode\":\"999999\",\"city\":\"\",\"cityCode\":\"0\",\"region\":\"\",\"regionCode\":\"0\",\"addr\":\" 美国弗吉尼亚州阿什本Amazon数据中心\",\"regionNames\":\"\",\"err\":\"noprovince\"}' , 1711662143) |
type | mysql |
hostname | 127.0.0.1 |
database | www_newguanyanhu |
hostport | |
dsn | |
params | [] |
charset | utf8mb4 |
prefix | mo_ |
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 | [] |
USER | www |
HOME | /home/www |
HTTP_HOST | guanyanhui.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.newguanyanhui.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.19.206.67 |
REMOTE_PORT | 47290 |
REMOTE_ADDR | 35.173.178.60 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.newguanyanhui.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /index/news/show/id/1122.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/index/news/show/id/1122.html |
SCRIPT_FILENAME | /www/wwwroot/www.newguanyanhui.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711662142.3961 |
REQUEST_TIME | 1711662142 |
PINYIN_DEFAULT | 4096 |
PINYIN_TONE | 2 |
PINYIN_NO_TONE | 4 |
PINYIN_ASCII_TONE | 8 |
PINYIN_NAME | 16 |
PINYIN_KEEP_NUMBER | 32 |
PINYIN_KEEP_ENGLISH | 64 |
PINYIN_UMLAUT_V | 128 |
PINYIN_KEEP_PUNCTUATION | 256 |