After installing the WAR file to Tomcat and navigating to /openmrs, I get the following error
"OpenMRS is not able to start." "The following error occurred at startup: Error occurred while trying to get the updates needed for the database. Unable to get a connection to the database. Please check your openmrs runtime properties file and make sure you have the correct connection.username and connection.password set" Followed by a stacktrace that includes the lines "java.lang.RuntimeException: Error occurred while trying to get the updates needed for the database. Unable to get a connection to the database. Please check your openmrs runtime properties file and make sure you have the correct connection.username and connection.password set" "Caused by: java.lang.Exception: Unable to get a connection to the database. Please check your openmrs runtime properties file and make sure you have the correct connection.username and connection.password set" "Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up." "Caused by: java.sql.SQLException: Access denied for user 'openmrs_user'@'localhost' (using password: YES)" I have read the information in https://wiki.openmrs.org/display/docs/Troubleshooting+Installation#TroubleshootingInstallation-WarfiledeploysinTomcatbutitwon%27tstartOpenMRS, but the given SQL does not work. The MySQL console keeps prompting for new lines, and the MySQL workbench reports a syntax error. MySQL server 5.5 is running. Reloading OpenMRS does not help. What am I supposed to do? ----- Server Information Tomcat Version JVM Version JVM Vendor OS Name OS Version OS Architecture Apache Tomcat/6.0.29 1.7.0_02-b13 Oracle Corporation Windows 7 6.1 amd64 _________________________________________ To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-implement-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

