Unknown initial character set index '192' received from server

Error : javax.servlet.ServletException: 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 ‘192’ 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 ‘192’ received from server. Initial client character set can be forced via the ‘characterEncoding’ property.)
Solution :
I just comment out the the following line in /etc/my.cnf file.

#collation_server = utf8_unicode_ci
#character_set_server = utf8

Done

Leave a Comment