# Change from h2 db to mysql db

**URL:** <https://forum.flowable.org/t/change-from-h2-db-to-mysql-db/7741>\
**Category:** Flowable Engine\
**Created:** [April 14, 2021, 9:58pm UTC](https://forum.flowable.org/t/change-from-h2-db-to-mysql-db/7741 "2021-04-14T21:58:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fiki574](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/fiki574/32/1675_2.png) [@fiki574](https://forum.flowable.org/u/fiki574)\
**Post date:** [April 15, 2021, 8:50am UTC](https://forum.flowable.org/t/change-from-h2-db-to-mysql-db/7741/2 "2021-04-15T08:50:25Z")

</div>

Hello.

Here’s the solution: [Spring Boot integration with a differnet database - #2 by fiki574](https://forum.flowable.org/t/spring-boot-integration-with-a-differnet-database/5993/2)

EDIT:  
My bad, you don’t have a standalone Spring Boot application, you would rather override the properties for the default database connection of the Flowable instance.

I use Docker, and here’s how I did it there:  
SPRING\_DATASOURCE\_DRIVER-CLASS-NAME: org.postgresql.Driver  
SPRING\_DATASOURCE\_URL: jdbc:postgresql://flowable-postgres:5432/flowable  
SPRING\_DATASOURCE\_USERNAME: flowable  
SPRING\_DATASOURCE\_PASSWORD: flowable

So the properties you’re overriding are correct, however it might be at a “wrong location” in the file system.

---

_[View the full topic](https://forum.flowable.org/t/change-from-h2-db-to-mysql-db/7741)._
