Press enter to see results or esc to cancel.


java.sql.SQLException: Unknown initial character set index ‘224’ received from server.

In this video I have shown how to solve the below exception that comes while connection to MySql database.

java.sql.SQLException: Unknown initial character set index '224' received from server. Initial client character set can be forced via the 'characterEncoding' property.

Solution

This error comes due to the version of MySQL connector class. As shown in the video download the latest version of MySQL jar file from the Official MySQL site from the link below.

You can visit https://dev.mysql.com/downloads/connector/j/ for latest jar download.

See how to Add the jar to Classpath. Check the below link to add the Jar in Classpath in Eclipse
https://chillyfacts.com/how-to-add-jar-file-in-eclipse-java-project/


Comments

Leave a Comment