You have to do the following

1. Stop Apache Tomcat
2. Stop MySQL
3. Clean log files in from your apache log directory
4. Start MySQL
5. Start Apache Tomcat


This should solve your problem.

On Tue, Jan 24, 2012 at 1:08 PM, Buddhika Ariyaratne <[email protected]
> wrote:

> I also had a similar problem related to 1.8 and I solve it this way.
>
> Please follow this thread.
>
>
> https://answers.openmrs.org/questions/49/error-at-start-up-unable-to-get-a-connection-to-the-database
>
>
> If still not solved, I can help as I also had the very same issue.
>
> Regards,
>
> Dr. M H B Ariyaratne
>
>
> On 24 January 2012 12:31, Matthew Ssemakadde <[email protected]> wrote:
>
>> Am trying 1.9 standalone but whenever I restart openMRS I get the flowing
>> error ,
>>
>> *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
>>
>>
>>
>>
>>
>> Any help
>>
>>
>> Matthew
>>
>> Masaka(Ug)
>>
>>
>>  ------------------------------
>> Click here to 
>> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from
>>  OpenMRS Implementers' mailing list
>
>
>
>
> --
> *Dr. M. H. B. Ariyaratne*
> MBBS(Ruhuna)
> Medical Officer,
> Ministry of Health.
>
> Trainee - MSc(Biomedical Informatics)
> Postgraduate Institute of Medicine,
> No 160, Norris Canal Road,
> Colombo, Sri Lanka.
>
> Residence
> 36/A, Thalgahahena Lane,
> Galle, Sri Lanka.
>
> Mobile    : + 94 71 5812399
> Residence : + 94 91 2241603
> Email     : [email protected]
>             [email protected]
> Website   : www.lakmedi.com
>             www.familygene.org
>
>  ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from
>  OpenMRS Implementers' mailing list
>

_________________________________________

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]

Reply via email to