本文主要是介绍UnKnown initial character set index ‘255‘ received from server. Initial client character set can....,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
该异常是连接mysql数据库字符集问题
解决方法:
将连接数据库的url加上以下红字部分即可
jdbc:mysql://localhost:3306/opensips?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
这篇关于UnKnown initial character set index ‘255‘ received from server. Initial client character set can....的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!