# Database Exception : Could not update Flowable database schema: unknown version from database: '6.5.1.1'

**URL:** <https://forum.flowable.org/t/database-exception-could-not-update-flowable-database-schema-unknown-version-from-database-6-5-1-1/6222>\
**Category:** Flowable Engine\
**Created:** [June 15, 2020, 1:18pm UTC](https://forum.flowable.org/t/database-exception-could-not-update-flowable-database-schema-unknown-version-from-database-6-5-1-1/6222 "2020-06-15T13:18:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aicha](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@Aicha](https://forum.flowable.org/u/Aicha)\
**Post date:** [June 15, 2020, 1:18pm UTC](https://forum.flowable.org/t/database-exception-could-not-update-flowable-database-schema-unknown-version-from-database-6-5-1-1/6222/1 "2020-06-15T13:18:34Z")

</div>

please help me to solve this issue when runing flowable-idm app

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘bootstrapper’: Unsatisfied dependency expressed through field ‘identityService’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘idmIdentityService’ defined in class path resource [org/flowable/spring/boot/idm/IdmEngineServicesAutoConfiguration.class]: Unsatisfied dependency expressed through method ‘idmIdentityService’ parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘idmEngine’: FactoryBean threw exception on object creation; nested exception is org.flowable.common.engine.api.FlowableException: Could not update Flowable database schema: unknown version from database: ‘6.5.1.1’

---

<div class="post-metadata">

**Author:** ![tjmac](https://avatars.discourse-cdn.com/v4/letter/t/bc8723/32.png) [@tjmac](https://forum.flowable.org/u/tjmac)\
**Post date:** [June 15, 2020, 3:48pm UTC](https://forum.flowable.org/t/database-exception-could-not-update-flowable-database-schema-unknown-version-from-database-6-5-1-1/6222/2 "2020-06-15T15:48:56Z")

</div>

Check and make sure the flowable jar is same version as the database. If the database was upgraded to 6.5.1.1 and you trying to run version 6.5.0 that might cause this issue.

---

<div class="post-metadata">

**Author:** ![Aicha](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@Aicha](https://forum.flowable.org/u/Aicha)\
**Post date:** [June 16, 2020, 8:56am UTC](https://forum.flowable.org/t/database-exception-could-not-update-flowable-database-schema-unknown-version-from-database-6-5-1-1/6222/3 "2020-06-16T08:56:34Z")

</div>

thanks for replying @tjmac

Do I need to check versions from flowable act.ge.proprety table?

mysql-connector-java: v: 8.0.17 and I had downloaded flowable-engine v6

---

<div class="post-metadata">

**Author:** ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)\
**Post date:** [June 17, 2020, 12:46pm UTC](https://forum.flowable.org/t/database-exception-could-not-update-flowable-database-schema-unknown-version-from-database-6-5-1-1/6222/4 "2020-06-17T12:46:20Z")

</div>

Usually it happens when you downgrade flowable.

Martin

---

<div class="post-metadata">

**Author:** ![Ram](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@Ram](https://forum.flowable.org/u/Ram)\
**Post date:** [August 12, 2021, 3:44pm UTC](https://forum.flowable.org/t/database-exception-could-not-update-flowable-database-schema-unknown-version-from-database-6-5-1-1/6222/5 "2021-08-12T15:44:38Z")

</div>

How to downgrade flowable from 6.6.0 to 6.5.0 . Do we need to manually remove DB tables?

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [August 23, 2021, 2:32pm UTC](https://forum.flowable.org/t/database-exception-could-not-update-flowable-database-schema-unknown-version-from-database-6-5-1-1/6222/6 "2021-08-23T14:32:48Z")

</div>

Hey @Ram,

We don’t have a mechanism for downgrading Flowable DB changes. You’ll have to manually do that.

Cheers,  
Filip
