I cannot connect to MySQL database. When connecting, it display an error as follow:
Error while trying to login to database:
Unknown initial character set index ’48’ received from server. Initial client character set can be forced via the ‘characterEncoding’ propoerty.
I set mysql character encoding to the default : utf-8:unicode.
Solution :
A. set the JDBC encoding property
But I dont know whether there is any way to set the JDBC character encoding property.
B. Change the database to JDBC encoding property
But I dont know what character encoding the JDBC is using
Please advise.
Many thanks in advance.