This is how my connection is set: Connection conn = DriverManager.getConnection(url + dbName + \"?useUnicode=true&characterEncoding=utf-8\", userName, password
Connection conn = DriverManager.getConnection(url + dbName + \"?useUnicode=true&characterEncoding=utf-8\", userName, password
Assuming you are using phpmyadmin to solve this error, follow these steps:
latin1_swedish_ci
utf8_general_ci