Unable to setup openmrs-sdk

I have been trying to run ‘mvn openmrs-sdk:setup’ and taking all the default options but i still get a build failure. here is the error log.http://pastebin.com/uYJiEUJt

The error message says

Failed to connect to the specified database jdbc:mysql://localhost:3306/server?au toReconnect=true&sessionVariables=storage_engine%3DInnoDB&useUnicode=true&charac terEncoding=UTF-8

Do you have mysql installed and running? I would check the username/password parameters you put in the SDK setup.

You can’t necessarily take all the default options. Particularly you need to already have mysql installed, or else to have docker installed, and to choose a database option suitable for your configuration.

Yes I have mysql installed and running.