$this->PDOStatement->execute();
// 调试结束
$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 | HY000 |
Driver Error Code | 1267 |
Driver Error Message | Illegal mix of collations (gbk_chinese_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation '=' |
Error Code | 10501 |
Error Message | SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (gbk_chinese_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation '=' |
Error SQL | SELECT * FROM `51saier_enewsclass` WHERE `classpath` = 'tag-Ĭά-0' LIMIT 1 |
type | mysql |
hostname | 127.0.0.1 |
database | 51saiercn_game |
hostport | |
dsn | |
params | [] |
charset | utf8mb4 |
prefix | 51saier_ |
debug | false |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | true |
result_type | 2 |
resultset_type | array |
auto_timestamp | false |
datetime_format | false |
sql_explain | false |
builder | |
query | \think\db\Query |
break_reconnect | false |