# Database configuration

**URL:** <https://community.ofelia.com/t/database-configuration/7112>\
**Category:** Q&A\
**Created:** [14 March 2016 20:19 UTC](https://community.ofelia.com/t/database-configuration/7112 "2016-03-14T20:19:17Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![sana.dadi123](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sana.dadi123](https://community.ofelia.com/u/sana.dadi123)\
**Post date:** [14 March 2016 20:19 UTC](https://community.ofelia.com/t/database-configuration/7112/1 "2016-03-14T20:19:17Z")

</div>

Hi everybody i’m trying to configure Bonita with my favorite RDBMS (mysql) but when i run Bonita there is always errors if anyone knows the process please describe it to me.  
regards.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [15 March 2016 12:03 UTC](https://community.ofelia.com/t/database-configuration/7112/2 "2016-03-15T12:03:55Z")

</div>

Hi,

The video you are referring to illustrate something that is not recommended: switching database for test environment embedded in Bonita BPM Studio.

Configuration of database to for example MySQL is attend to be performed on Bonita BPM platform setup for example with our Tomcat bundle.

Also note that the video is using Bonita BPM version 6. I would recommend to use the documentation that is up to date with latest Bonita BPM evolutions.

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [15 March 2016 04:31 UTC](https://community.ofelia.com/t/database-configuration/7112/3 "2016-03-15T04:31:39Z")

</div>

Which version/level of Bonitasoft?

Which version/level of MySQL?

What are the errors?

regards  
Seán

---

<div class="post-metadata">

**Author:** ![sana.dadi123](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sana.dadi123](https://community.ofelia.com/u/sana.dadi123)\
**Post date:** [15 March 2016 05:54 UTC](https://community.ofelia.com/t/database-configuration/7112/4 "2016-03-15T05:54:46Z")

</div>

Bonita 7.2  
i have always this kind of message  
‘Starting Tomcat v7.0 server at localhost’ has encountred a problem  
Server Tomcat v7.0 Server at localhost failed to start.

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [15 March 2016 09:47 UTC](https://community.ofelia.com/t/database-configuration/7112/5 "2016-03-15T09:47:24Z")

</div>

can you share the log?

What version mySQL?

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [15 March 2016 09:47 UTC](https://community.ofelia.com/t/database-configuration/7112/6 "2016-03-15T09:47:35Z")

</div>

Can you share the full Tomcat log files content (don’t paste it, rather use Dropbox, Google Drive…)?

You can refer to the documentation to find out how to configure [Bonita BPM Engine](http://documentation.bonitasoft.com/database-configuration-2) to use MySQL and also how to configure [Business Data](http://documentation.bonitasoft.com/database-configuration-business-data-1) feature to use MySQL.

---

<div class="post-metadata">

**Author:** ![sana.dadi123](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sana.dadi123](https://community.ofelia.com/u/sana.dadi123)\
**Post date:** [15 March 2016 10:42 UTC](https://community.ofelia.com/t/database-configuration/7112/7 "2016-03-15T10:42:54Z")

</div>

when i start Bonita this message appears :[https://bonita.atlassian.net/secure/attachment/10501/Screen%20Shot%202013-07-11%20at%2011.06.01%20AM.png](https://bonita.atlassian.net/secure/attachment/10501/Screen%20Shot%202013-07-11%20at%2011.06.01%20AM.png)

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [15 March 2016 10:54 UTC](https://community.ofelia.com/t/database-configuration/7112/8 "2016-03-15T10:54:21Z")

</div>

Again,

Can you share the log, as asked by Antoine?

You also said you’re using 7.2…7.2 ships with Tomcat 7 but your picture shows Tomcat 6…are you sure you’re using 7.2?

Do you have another version of Tomcat running at the same time as this is not possible. Tomcat problem not Bonitasoft.

regards  
Seán

---

<div class="post-metadata">

**Author:** ![sana.dadi123](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sana.dadi123](https://community.ofelia.com/u/sana.dadi123)\
**Post date:** [15 March 2016 11:08 UTC](https://community.ofelia.com/t/database-configuration/7112/9 "2016-03-15T11:08:01Z")

</div>

here are the screenshots :  
[https://www.dropbox.com/home?preview=aa.png](https://www.dropbox.com/home?preview=aa.png)  
[https://www.dropbox.com/home?preview=ss.png](https://www.dropbox.com/home?preview=ss.png)  
no i don’t have any other runnig version of tomcat  
actually i’m folowing this tuto because it’s the first time that i use bonita :[https://www.youtube.com/watch?v=mB-a3KERcCg](https://www.youtube.com/watch?v=mB-a3KERcCg)

---

<div class="post-metadata">

**Author:** ![sana.dadi123](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sana.dadi123](https://community.ofelia.com/u/sana.dadi123)\
**Post date:** [15 March 2016 12:13 UTC](https://community.ofelia.com/t/database-configuration/7112/10 "2016-03-15T12:13:14Z")

</div>

ok thanks 🙂
