While establishing the connection to a MySQL database, I\'m getting the following error
java.sql.SQLException: Unknown initial character set index \'255\' receiv
You can add ?characterEncoding=latin1" after your url String like this for e.g.:
?characterEncoding=latin1"
"jdbc:mysql://localhost/yourDB?characterEncoding=latin1";
It might work.