SSL Error on Mysql While setting up openmrs sdk

So, the warning message you’re seeing about SSL connections is just that, a warning. It doesn’t really indicate why the connection failed. The most likely causes for why it cannot connect are:

  1. MySQL isn’t running
  2. MySQL isn’t running on port 3306
  3. Your MySQL instance isn’t configured to allow the root user to login with a user name and password (this is common on many Linux-distro versions of MySQL)
  4. The user name and password are incorrect

You might be able to get more details by running mvn openmrs-sdk:setup -e.

If the issue is something like 3, you might need to follow the steps discussed here and after that.

2 Likes