Unable to get connection to database after openmrs installation

I am installing openmrs but after deploying openmrs I get an error unable to get connection to database please check your openmrs runtime properties file. But I have checked that and credentials for openmrs user in openmrs runtime properties file are the same as those in mysql. I have tested to user openmrs user to access mysql and I can access it. I can’t seem to figure out what is the problem here.

Please follow this conversion and see if it could be of any help Link

Thanks for the help

1 Like

you could actually add what helped you here on this thread

I am not sure exactly because I was doing a lot of things but I think I did delete openmrs-runtime properties file, undeploy and deploy openmrs war file.