ODK Sync Endpoint - mysql installation error


I am trying to install ODK Sync Endpoint base on instruction at https://docs.opendatakit.org/odk2/cloud-endpoints-intro/. But, when I run the mvn clean install the installation stalls showing the following error message:

java.sql.SQLException: Access denied for user ‘odk_unit’@‘’ (using password: YES)

How can I fix it?


Looks like the tests for Sync Endpoint failed to run for you. To work around it you could execute mvn clean install -DskipTests instead of mvn clean install to disable the tests.

Could you attach your console output from the failed run so we can see why the tests failed to run? Thanks.

Hi Li,

finally, I found where I was wrong. I haven’t initialized right the docker swarm.

Thanks for your time!