Unable to set up openmrs sdk

Whenever I run mvn openmrs-sdk:setup, I get the following error:

[ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.13.0:setup (default-cli) on project referenceapplication: Failed to setup server: Failed to connect to the specified database jdbc:mysql://localhost:3306/server?autoReconnect=true&sessionVariables=default_storage_engine%3DInnoDB&useUnicode=true&characterEncoding=UTF-8 →

Same as this:

See the paste bin for error log: https://pastebin.com/uYJiEUJt

PS: I have MySQL installed and running