I find it hard to establish a link between jdbc and mysql. I think one of the reasons is the mysql port. I checked the port with the statement: \"show variables like \'port\';\"
On my ubuntu install, in /etc/mysql/my.cnf theres a line that says :
[mysqld] port = 3306
Try changing this value accordingly and restarting mysql.
Hope it works for you.