Make sure that mysql is running. And make sure its on the right port you defined on the first screen of the wizard.
And if you are done with the intiailization wizard, make sure that the user you defined in the openmrs runtime properties file is a valid user. See https://wiki.openmrs.org/display/docs/Overriding+OpenMRS+Default+Runtime+Propertiesfor how to define and find the file with the db setup properties. Ben On Tue, Oct 25, 2011 at 7:40 AM, Thothathri Srinivasan <[email protected]>wrote: > Hi, > > I am getting the following error on initial setup. Could you please guide > me > on this? > > > 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 > > 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 > at > > org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:613) > at > org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:256) > at org.openmrs.web.Listener.setupNeeded(Listener.java:170) > at org.openmrs.web.Listener.contextInitialized(Listener.java:142) > > > > > Thanks, > Thothathri > > _________________________________________ > > To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to > [email protected] with "SIGNOFF openmrs-devel-l" in the body > (not the subject) of your e-mail. > > [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l] > _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

