Bonitasoft 2023.1 and MySQL

Hello, I am starting out in the world of Bonitasoft, I am a student and my teacher sent me an assignment that I must use with MySQL, I have tried by all means to connect BonitaSoft 2023.1 with MySQL since I cannot use the H2 Database, but when it starts Tomcat tells me that the database cannot be found. Please can someone explain to me step by step how to make the change from H2 to MySQL, I need it urgently

Hi,

You may find help in the documentation

HTH
Romain

Hi Eric!

As Romain said, try following the steps on our documentation: https://documentation.bonitasoft.com/bonita/latest/runtime/database-configuration

BEWARE: the runtime that comes on Bonita Studio is for dev only and you won't be able to configure it, as explained here https://community.bonitasoft.com/questions-and-answers/bonitastudiocommunity-configuration-mysql

Use the runtime that you can download from our website (and that you would normally use for your prod environments): https://www.bonitasoft.com/downloads After unzipping it, follow the documentation to configure it.

FYI with 2023.1, you can try-out self-contained applications. On this webinar, you can check out how to create one with our experimental tool: https://community.bonitasoft.com/blog/all-aboard-bonita-express-stop-4-self-contained-applications It can be useful for your case if you want to better understand how to package the runtime I've mentioned previously with your application.

 

Hope this helps!