That JDBC connection
string is not a
mysql connectorJ one.
The proper format would be something like:
jdbc:mysql://sql6.freesqldatabase.com/{database name}
You may or may not need a port, depending on how the db has been set up.
Connector-J is a type 4 driver, so you do not need the Class.forName() at all.