Oracle's current licensing advice is that the GPL MySQL JDBC driver cannot be redistributed with a proprietary application:
From MySQL Commercial License:
If you include one or more of the MySQL drivers in your non-GPL application (so that your application can run with MySQL), you need a commercial license for the driver(s) in question. The MySQL drivers currently include an ODBC driver, a JDBC driver and the C language library.
Remove the MySQL driver from the distribution.
Oracle's current licensing advice is that the GPL MySQL JDBC driver cannot be redistributed with a proprietary application:
From MySQL Commercial License:
Remove the MySQL driver from the distribution.