Fix adapters for MySQL and JDBC.