Update mysql-connector-java to 5.1.31.