function mysql_read_single_row($sql, $array_of_values) {
//create a connection$DBH = new PDO("mysql:host=".CONST_MYSQL_HOST.";dbname=".CONST_MYSQL_DBNAME, CONST_MYSQL_RUSER, CONST_MYSQL_RPASS);
首先,我尝试将MySql连接到我的web项目,但发生了以下异常。Unknown character set index for field '255' received from server 因此,我根据某人的建议在MySql optionsFile中更改了explicit_defaults_for_timestamp,并在服务选项卡中停止了MySql。在那之后,我尝试在服务选项卡或命令行中重启MySql,但不起作用。 错误:Can't connect t