# Migration from 3.1.2 to 3.2.2 error Unknown database type json requested

**URL:** https://forum.mautic.org/t/migration-from-3-1-2-to-3-2-2-error-unknown-database-type-json-requested/17749
**Category:** Product Support
**Tags:** mautic-3
**Created:** [January 12, 2021, 12:34pm UTC](https://forum.mautic.org/t/migration-from-3-1-2-to-3-2-2-error-unknown-database-type-json-requested/17749 "2021-01-12T12:34:32Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)
#### Post date: [January 12, 2021, 12:39pm UTC](https://forum.mautic.org/t/migration-from-3-1-2-to-3-2-2-error-unknown-database-type-json-requested/17749/2 "2021-01-12T12:39:34Z")

</div>

This was a bug that was fixed I believe in 3.2:

> <https://github.com/mautic/mautic/pull/9437>
>
> Mautic 3 introduced a version bump for MySQL to 5.7 (see https://github.com/maut…ic/mautic/blob/staging/UPGRADE-3.0.md#backwards-compatibility-breaking-changes), but it was never enforced in the code.
> 
> This is now leading to the following error:
> \`\`\`
> 11:16:32 ERROR \[console\] Error thrown while running command "mautic:plugins:reload". Message: "Unknown database type json requested, Doctrine\\DBAL\\Platforms\\MySqlPlatform may not support it." \["exception" =\> Doctrine\\DBAL\\DBALException { …},"command" =\> "mautic:plugins:reload","message" =\> "Unknown database type json requested, Doctrine\\DBAL\\Platforms\\MySqlPlatform may not support it."\]
> \`\`\`
> 
> As described in https://github.com/laravel/framework/issues/15772#issuecomment-685945057, the solution is to bump the \`server\_version\` in the Doctrine config to 5.7 as well.
> 
> This bug is currently blocking the following things:
> \- Mautic API library to GH Actions https://github.com/mautic/api-library/pull/231 (I temporarily applied the patch in this PR to the one in \`api-library\`, and can confirm it fixes the issue https://github.com/mautic/api-library/pull/231/commits/fa9a7554ea4888fb6f5993591bc3707e58ee49c7
> \- Automatically testing a Mautic upgrade in our CI release job: https://github.com/mautic/mautic/runs/1442983812?check\_suite\_focus=true
> 
> We can't reliably release 3.2 if this fix is not in.

Also reported in

> [@Mautic 3.1.2 installed - Plugins are not available](https://forum.mautic.org/t/mautic-3-1-2-installed-plugins-are-not-available/17003):
>
> Your software My Mautic version is: 3.1.2 My PHP version is: 7.3 My Database type and version is: [image] Your problem My problem is: Moutic shows only “OneSignal” and “Twilio” Plugin. [image] I’m not familiar with Mautic and my programming skills are limited. I did some research and came across this article: [https://github.com/mautic/mautic/issues/9273](https://github.com/mautic/mautic/issues/9273) Ruth forwarded me to this post [https://github.com/mautic/mautic/issues/9200#issuecomment-694274904](https://github.com/mautic/mautic/issues/9200#issuecomment-694274904) But there is no config.php in my ap…

> [@Multiple errors with two fresh installations of 3.1.1](https://forum.mautic.org/t/multiple-errors-with-two-fresh-installations-of-3-1-1/16420):
>
> Your software My Mautic version is: 3.1.1 My PHP version is: 7.2 Your problem My problem is: I have two instances of Mautic running on my VPS. One was installed via Softaculous on Cpanel, the other was installed manually. Neither instance shows a directory for /apps/cache or /apps/logs when I am going through directories via FTP I get a persistent error when I try go to/update/schema on both installations. Both sites return this error when I try to connect to Zapier: authenticati…

> [@An error occurred while updating the database](https://forum.mautic.org/t/an-error-occurred-while-updating-the-database/17056):
>
> Your software My Mautic version is: 3.2.1. My PHP version is:7.2.24, on Ubuntu 18.04 My Database type and version is: MySQL Your problem My problem is: i have this error : “An error occurred while updating the database. Check log for more details.” when i’m hitting this link: [https://mydomain/mautic/s/update/schema](https://mydomain/mautic/s/update/schema) These errors are showing in the log:2020-11-17 14:31:29] mautic.NOTICE: Doctrine\DBAL\DBALException: Unknown database type json requested, Doctrine\DBAL\Platforms\MySqlPlatform …

Maybe check your file has been updated? See the file changes [here](https://github.com/mautic/mautic/pull/9437/files).

---

_[View the full topic](https://forum.mautic.org/t/migration-from-3-1-2-to-3-2-2-error-unknown-database-type-json-requested/17749)._
