Database installaiton issues with utf8 compliance

The error stack mentioned in the this blog post may annoy users. Finding solution from google with issues is also not very straight forward. To resolve the issue:

#  Check that the database is installed with utf8 compliance.To check the same the command is:
show global variables like ‘charac%’;

When create a new database and finds collation is latin or some thing else re-install the DB with utf8 compliance option. Another option could be to edit my.ini and make changes there but it has different implication as well.

2011-11-08 13:03:01,911 [ERROR] – “Incorrect string value: ‘\x85’ for column ‘variation’ at row 1”

2011-11-08 13:03:02,005 [ERROR] – “Could not synchronize database state with session”

org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update

at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.j


at org.hibernate.exception.SQLStateConverter.convert(

at org.hibernate.exception.JDBCExceptionHelper.convert(

at org.hibernate.jdbc.AbstractBatcher.executeBatch(

at org.hibernate.jdbc.AbstractBatcher.prepareStatement(



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s