Hello guys need help.
while installing openmrs, I reached the loadings the last loadings after opening tomcat on blouser and shows this message
Unable to create the database. The password might be incorrect or the database is not started.
???Error executing sql: create database if not exists ? default character set utf8 - Could not create connection to database server. Attempted reconnect 3 times. Giving up.???
1 .Do you have mysql database installed ?
2.If installed are you providing the correct password , in otherwords , the password used for logging into mysql is it correct?
@niyolynate basing on this the issue is caused by a change in the default SELinux configuration on RHEL 7.4 and later which, by default, disallows Tomcat from connecting to a local database via TCP. The answer there suggests disabling SELinux, which is one way to solve the issue. Alternatively you can use this guide on how to allow Tomcat to connect to MySQL without totally disabling SELinux
Proscovia, its always good to share the entire error logs on your terminal and if possible the screen shoot. For its hard to tell the cause of the error by reading a single line.