I might be nitpicking, but the proper way to load the driver is:
Class.forName ("com.mysql.jdbc.Driver")
.newInstance () ;
Don't call newInstance(). It is not needed, and is not as the Oracle Sun guidelines explains how to load drivers.
(however, this is not the cause of the problem you reported. For that, can you try what is explained
here?)