IndianWebPortal.com

Something Different In Linux

Home » Tomcat » 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


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...