Search for the openmrs-runtime.properties file to see if there is still application data left over from a previous installation then delete it see if it can solve the problem.
or If you have the correct password and username, check if you have another openmrsruntime.properties files else where in another location. Then change it to the correct username and password of mySQL
I have passed through the thread so keenly though the blocker was about openmrs failing to connect to the MYSQL. For my case MYSQL 5.7 server is running fine
@jwnasambu .OpenMRS folder is present in only one directory. When I open openmrs-runtime.properties I see this output. Does it need to change the password and username in this file to match those credentials of mysql?
Those are your mysql credentials. Kindly ensure you don’t have another folder in any location on your PC. If you do, follow the same procedure and match those credentials.
I only have one directory of .OpenMRS existing. According to the output in openmrs-runtime.properties the username and password does not match those I set in mysql sever. Did you mean to reset them so that they match those credential set in MYSQL server? @jwnasambu
Have done the following: Have edited the openmrs-runtime.properties file and set connection.username and conncection.password to match those I set in MYSQL server. ie currently in openmrs-runtime.properties file: connection.username=root and connection.password=softwaredev@
The same exception persists when I run localhost:8080/openmrs/admin/
FYI. We just upgraded to Tomcat 7.0.96 on Windows, and the location of the OpenMRS data directory changed from C:\Windows\system32\config\systemprofile\Application Data\OpenMRS to C:\Windows\ServiceProfiles\LocalService\Application Data\OpenMRS