}
} else {
if ($this->reConnectTimes < 4 && $this->isBreak($e)) {
++$this->reConnectTimes;
return $this->close()->getPDOStatement($sql, $bind, $master, $procedure);
}
}
if ($e instanceof \PDOException) {
throw new PDOException($e, $this->config, $this->getLastsql());
} else {
throw $e;
}
}
}
/**
* 执行语句
* @access protected
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 ') LIMIT 1' 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 ') LIMIT 1' at line 1 |
Error SQL | SELECT * FROM `shop_typepro` WHERE ( id= ) LIMIT 1 |
type | mysql |
hostname | 127.0.0.1 |
database | scauracndb |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | shop_ |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | true |
fields_cache | false |
trigger_sql | 1 |
builder | |
query | |
break_reconnect | false |
break_match_str | [] |
ADMIN_ID | e899a0333cba9847f68d8088ba0a0c23e7ba62da |
PHPSESSID | bbee5c9fd206bbcbf0b6cb271a3da8d2 |
__token__ | 981d8e4a18a314817731b5b02bf4d028 |
user_id | 0 |
USER | www |
HOME | /home/www |
HTTP_COOKIE | ADMIN_ID=e899a0333cba9847f68d8088ba0a0c23e7ba62da; PHPSESSID=bbee5c9fd206bbcbf0b6cb271a3da8d2 |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | scaura.cn |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | scaura.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 119.147.152.65 |
REMOTE_PORT | 55172 |
REMOTE_ADDR | 107.158.232.98 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/scauracn/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | //productshow4.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/productshow4.html |
SCRIPT_FILENAME | /www/wwwroot/scauracn/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1734786154.8493 |
REQUEST_TIME | 1734786154 |