做了个论坛在网页运行不出来,希望大佬们多帮帮

网页运行的结果是:HTTP状态 500 - 内部服务器错误
类型 异常报告

消息 org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Cannot create PoolableConnectionFactory (Unknown initial character set index '255' received from server. Initial client character set can be forced via the 'characterEncoding' property.); nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unknown initial character set index '255' received from server. Initial client character set can be forced via the 'characterEncoding' property.)


回答:

数据库连不上,检查数据库配置、防火墙是否正常


回答:

你jdbc链接url应该需要加一下?useUnicode=true&characterEncoding=utf8

以上是 做了个论坛在网页运行不出来,希望大佬们多帮帮 的全部内容, 来源链接: utcz.com/p/944558.html

回到顶部