SQLSTATE[HY000] [2054] Server sent charset unknown to the client. Please, report to the developers 发表评论 php7.1.4不行php7.1.28就可以 结论: 升级php版本