# A SQL client issue

**URL:** <https://community.temporal.io/t/a-sql-client-issue/1680>\
**Category:** Community Support\
**Created:** [March 9, 2021, 9:56pm UTC](https://community.temporal.io/t/a-sql-client-issue/1680 "2021-03-09T21:56:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Newbie\_Sr](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/newbie_sr/32/589_2.png) [@Newbie\_Sr](https://community.temporal.io/u/Newbie_Sr)\
**Post date:** [March 9, 2021, 9:56pm UTC](https://community.temporal.io/t/a-sql-client-issue/1680/1 "2021-03-09T21:56:48Z")

</div>

Hi,  
I am trying to set up temporal with our vitess cluster (mysql version 8.0). Seems that the SQL client Temporal is using is not compatible with our vitess cluster when have “multiStatements” flag enabled. But I can use a different MySQL go client to connect to vitess with that flag enabled.

I comment out the below line and built a Temporal server docker image, it worked well with our vitess cluster.

> <https://github.com/temporalio/temporal/blob/master/common/persistence/sql/sqlplugin/mysql/plugin.go#L56>

I also filed an issue on github: [sql client is not compatible with mysql version 8+ · Issue #1364 · temporalio/temporal · GitHub](https://github.com/temporalio/temporal/issues/1364)

---

<div class="post-metadata">

**Author:** ![Wenquan\_Xing](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/wenquan_xing/32/362_2.png) [@Wenquan\_Xing](https://community.temporal.io/u/Wenquan_Xing)\
**Post date:** [March 9, 2021, 10:29pm UTC](https://community.temporal.io/t/a-sql-client-issue/1680/2 "2021-03-09T22:29:42Z")

</div>

Thanks for reporting this, I will take a look.

FYI, Temporal only officially support MySQL 5.7

---

<div class="post-metadata">

**Author:** ![Newbie\_Sr](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/newbie_sr/32/589_2.png) [@Newbie\_Sr](https://community.temporal.io/u/Newbie_Sr)\
**Post date:** [March 9, 2021, 10:54pm UTC](https://community.temporal.io/t/a-sql-client-issue/1680/3 "2021-03-09T22:54:07Z")

</div>

Ya, i know 8.0 is not officially supported, but it worked with a different sql client. so it is less likely a mysql server issue

---

<div class="post-metadata">

**Author:** ![madhu](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@madhu](https://community.temporal.io/u/madhu)\
**Post date:** [March 12, 2021, 5:03pm UTC](https://community.temporal.io/t/a-sql-client-issue/1680/4 "2021-03-12T17:03:10Z")

</div>

mysql 8 is not supported yet refer [this post](https://community.temporal.io/t/a-sql-client-issue/1680)  
i have tried mysql 5.7.30/31 and it works just fine.
