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

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

user6608

Please add ?characterEncoding=latin1 like this way "jdbc:mysql://localhost/yourDB?characterEncoding=latin1";