# Error during OpenMRS installation wizard

**URL:** <https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940>\
**Category:** Implementing\
**Created:** [July 13, 2018, 10:57am UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940 "2018-07-13T10:57:18Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![projectsundarban](https://talk.openmrs.org/letter_avatar/projectsundarban/32/6_22734026db12803ebb3e059622ac3534.png) [@projectsundarban](https://talk.openmrs.org/u/projectsundarban)\
**Post date:** [July 13, 2018, 10:57am UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/1 "2018-07-13T10:57:18Z")

</div>

Hello everyone,

I am trying to install OpenMRS on my MacBook, however, during the installation wizard I get the following error: “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.???”

Can you please advise on what I should do?

thank you projectsundarban

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [July 13, 2018, 11:38am UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/2 "2018-07-13T11:38:52Z")

</div>

@projectsundarban hope this link helps [https://wiki.openmrs.org/display/docs/Installing+OpenMRS](https://wiki.openmrs.org/display/docs/Installing+OpenMRS)

---

<div class="post-metadata">

**Author:** ![projectsundarban](https://talk.openmrs.org/letter_avatar/projectsundarban/32/6_22734026db12803ebb3e059622ac3534.png) [@projectsundarban](https://talk.openmrs.org/u/projectsundarban)\
**Post date:** [July 16, 2018, 4:57am UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/3 "2018-07-16T04:57:50Z")

</div>

@herbert24 We did follow these steps exactly. Unfortunately, we still get the same error.

We would like to implement OpenMRS in a hospital in India, but we have been struck for several days with this error. I hope anyone can help us out…

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [July 16, 2018, 5:15am UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/4 "2018-07-16T05:15:28Z")

</div>

It might help if you share what exact step you got to when you see that error message (and perhaps what choices you made leading up to that step).

---

<div class="post-metadata">

**Author:** ![projectsundarban](https://talk.openmrs.org/letter_avatar/projectsundarban/32/6_22734026db12803ebb3e059622ac3534.png) [@projectsundarban](https://talk.openmrs.org/u/projectsundarban)\
**Post date:** [July 17, 2018, 5:45pm UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/5 "2018-07-17T17:45:39Z")

</div>

For the main part we followed every step of the OpenMRS guide. We also installed all software required by OpenMRS, Tomcat and MySQL.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [July 17, 2018, 8:46pm UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/6 "2018-07-17T20:46:19Z")

</div>

Can you share the tomcat log at [pastebin.com](http://pastebin.com)?

---

<div class="post-metadata">

**Author:** ![reubenv](https://talk.openmrs.org/user_avatar/talk.openmrs.org/reubenv/32/3818_2.png) [@reubenv](https://talk.openmrs.org/u/reubenv)\
**Post date:** [July 17, 2018, 10:01pm UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/7 "2018-07-17T22:01:01Z")

</div>

@projectsundarban , [this](https://talk.openmrs.org/t/initialsetup-wizard-unable-to-create-the-database/6047) may work for you.

I remember facing a similar issue a while ago, downgrading my Mysql to the right version worked for me. In the link that I have provided, the versions mentioned are that for an older version of OpenMRS. Based on your platform version, kindly do ensure that you have the correct versions of Mysql, Tomcat etc. installed. If you still face an issue, kindly do paste your logs like Daniel has mentioned.

---

<div class="post-metadata">

**Author:** ![projectsundarban](https://talk.openmrs.org/letter_avatar/projectsundarban/32/6_22734026db12803ebb3e059622ac3534.png) [@projectsundarban](https://talk.openmrs.org/u/projectsundarban)\
**Post date:** [July 19, 2018, 5:36am UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/8 "2018-07-19T05:36:52Z")

</div>

I tried downgrading everything, still, I get the same error. I downgraded to Java 8u65, Tomcat 8.5.32, MySQL Server 5.6.40 and OpenMRS 2.0.5. I am currently trying to install OpenMRS on a MacBook Pro 10.13.5. Our plan is to configure the network tomorrow and, afterwards, install OpenMRS on a Windows Server 2016. Please find the Tomcat log here: [https://pastebin.com/MdizBqzz](https://pastebin.com/MdizBqzz) Would it maybe be possible to help us via Teamviewer?

Thank you

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [July 19, 2018, 6:28am UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/9 "2018-07-19T06:28:53Z")

</div>

What is the exact version of OpenMRS that you are trying to install?

---

<div class="post-metadata">

**Author:** ![projectsundarban](https://talk.openmrs.org/letter_avatar/projectsundarban/32/6_22734026db12803ebb3e059622ac3534.png) [@projectsundarban](https://talk.openmrs.org/u/projectsundarban)\
**Post date:** [July 19, 2018, 6:59am UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/10 "2018-07-19T06:59:35Z")

</div>

I tried 3 different versions: 2.1.3, 2.0.5 and 2.0.6.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [July 19, 2018, 7:10am UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/11 "2018-07-19T07:10:05Z")

</div>

Do a fresh install of 2.1.3 and then share the complete tomcat log.

---

<div class="post-metadata">

**Author:** ![projectsundarban](https://talk.openmrs.org/letter_avatar/projectsundarban/32/6_22734026db12803ebb3e059622ac3534.png) [@projectsundarban](https://talk.openmrs.org/u/projectsundarban)\
**Post date:** [July 19, 2018, 7:29am UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/12 "2018-07-19T07:29:58Z")

</div>

Which log do you exactly require? I have included “localhost.2018-07-19.log” in the following pastebin link: [https://pastebin.com/Pwz1tYVM](https://pastebin.com/Pwz1tYVM)

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [July 19, 2018, 7:38am UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/13 "2018-07-19T07:38:28Z")

</div>

Is this as a result of a fresh install of 2.1.3?

---

<div class="post-metadata">

**Author:** ![projectsundarban](https://talk.openmrs.org/letter_avatar/projectsundarban/32/6_22734026db12803ebb3e059622ac3534.png) [@projectsundarban](https://talk.openmrs.org/u/projectsundarban)\
**Post date:** [July 19, 2018, 7:59am UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/14 "2018-07-19T07:59:09Z")

</div>

Yes I deleted all versions and reinstalled 2.1.3

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [July 19, 2018, 11:04am UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/15 "2018-07-19T11:04:22Z")

</div>

Is that all that this file has?

---

<div class="post-metadata">

**Author:** ![projectsundarban](https://talk.openmrs.org/letter_avatar/projectsundarban/32/6_22734026db12803ebb3e059622ac3534.png) [@projectsundarban](https://talk.openmrs.org/u/projectsundarban)\
**Post date:** [July 19, 2018, 11:16am UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/16 "2018-07-19T11:16:07Z")

</div>

Yes, from that file everything is in the pastebin. Should I also add other logs (‘manager’ and ‘catalina’)?

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [July 19, 2018, 11:22am UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/17 "2018-07-19T11:22:09Z")

</div>

Yes share the contents of the catalina file too.

---

<div class="post-metadata">

**Author:** ![projectsundarban](https://talk.openmrs.org/letter_avatar/projectsundarban/32/6_22734026db12803ebb3e059622ac3534.png) [@projectsundarban](https://talk.openmrs.org/u/projectsundarban)\
**Post date:** [July 19, 2018, 12:29pm UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/18 "2018-07-19T12:29:46Z")

</div>

Ok, please find below the pastebin links to the catalina file and manager file logs respectively. Thank you

[https://pastebin.com/Fz9Gvjfr](https://pastebin.com/Fz9Gvjfr)

[https://pastebin.com/E5gt5qp5](https://pastebin.com/E5gt5qp5)

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [July 19, 2018, 2:31pm UTC](https://talk.openmrs.org/t/error-during-openmrs-installation-wizard/18940/19 "2018-07-19T14:31:48Z")

</div>

Looks like you are running out of memory. Is this of help? [https://wiki.openmrs.org/display/docs/Troubleshooting+Memory+Errors](https://wiki.openmrs.org/display/docs/Troubleshooting+Memory+Errors)
