# \#mysql

**URL:** https://community.temporal.io/tag/mysql/6.md

[Latest](https://community.temporal.io/latest.md) · [Categories](https://community.temporal.io/categories.md) · [Tags](https://community.temporal.io/tags.md)

---

## [Can we use MariaDB for Temporal](https://community.temporal.io/t/can-we-use-mariadb-for-temporal/10955)

<div class="topic-metadata">

**Author:** [@Sreekanth\_P\_M](https://community.temporal.io/u/Sreekanth_P_M)\
**Replies:** 4\
**Last updated:** [September 24, 2026, 12:58pm UTC](https://community.temporal.io/t/can-we-use-mariadb-for-temporal/10955 "2026-09-24T12:58:32Z")

</div>

Hi Team, I would like to run temporal in AWS instance. Unfortunately I cannot use cassandra,elastic,postgress or elastic. Available DBs are Maria DB and Couchbase. Since MariaDB forked from mysql is it possible to use?I…

---

## [MySQL persistence failover without LB/VIP: implementation ready for review](https://community.temporal.io/t/mysql-persistence-failover-without-lb-vip-implementation-ready-for-review/19783)

<div class="topic-metadata">

**Author:** [@Divyanshu](https://community.temporal.io/u/Divyanshu)\
**Replies:** 0\
**Last updated:** [August 23, 2026, 7:48pm UTC](https://community.temporal.io/t/mysql-persistence-failover-without-lb-vip-implementation-ready-for-review/19783 "2026-08-23T19:48:55Z")

</div>

We run self-hosted Temporal on OpenShift with a three-node MySQL deployment and no load balancer or VIP. Temporal currently treats MySQL connectAddr as one endpoint. When the primary changes, Temporal cannot try another…

---

## [Is Temporal officially compatible with MySQL 9.x (9.7)?](https://community.temporal.io/t/is-temporal-officially-compatible-with-mysql-9-x-9-7/19750)

<div class="topic-metadata">

**Author:** [@wburon](https://community.temporal.io/u/wburon)\
**Replies:** 1\
**Last updated:** [August 5, 2026, 2:19pm UTC](https://community.temporal.io/t/is-temporal-officially-compatible-with-mysql-9-x-9-7/19750 "2026-08-05T14:19:26Z")

</div>

Hello, We are planning to deploy Temporal with a MySQL 9.x database (version 9.7). While reviewing the documentation, we found references to MySQL 5.7 and MySQL 8.0 as the officially tested versions, and the SQL toolin…

---

## [Worker Memory usage](https://community.temporal.io/t/worker-memory-usage/705)

<div class="topic-metadata">

**Author:** [@Pedro\_Almeida](https://community.temporal.io/u/Pedro_Almeida)\
**Replies:** 21\
**Last updated:** [April 16, 2026, 6:59pm UTC](https://community.temporal.io/t/worker-memory-usage/705 "2026-04-16T18:59:33Z")

</div>

Hello, First of all, congrats on the V1 release of Temporal. :slight\_smile: We were using only 1 worker for a couple of running workflows ( 50 000 ) approximately. Workflows instances are mostly waiting for signals to …

---

## [Temporal server with the error "UpdateTaskQueue failed"](https://community.temporal.io/t/temporal-server-with-the-error-updatetaskqueue-failed/7813)

<div class="topic-metadata">

**Author:** [@zhangkyou](https://community.temporal.io/u/zhangkyou)\
**Replies:** 10\
**Last updated:** [April 10, 2026, 12:50am UTC](https://community.temporal.io/t/temporal-server-with-the-error-updatetaskqueue-failed/7813 "2026-04-10T00:50:57Z")

</div>

I found there is many error log in my Temporal server’s log. {"level":"error","ts":"2023-04-07T10:36:11.662+0800","msg":"Operation failed with internal error.","error":"UpdateTaskQueue failed. Failed to start transactio…

---

## [Unable to update visibility sql schema](https://community.temporal.io/t/unable-to-update-visibility-sql-schema/19389)

<div class="topic-metadata">

**Author:** [@byulent](https://community.temporal.io/u/byulent)\
**Replies:** 0\
**Last updated:** [March 9, 2026, 10:29am UTC](https://community.temporal.io/t/unable-to-update-visibility-sql-schema/19389 "2026-03-09T10:29:37Z")

</div>

I’m trying to self-host Temporal v1.29 using the official Helm chart ( GitHub - temporalio/helm-charts: Temporal Helm charts · GitHub ). For both default and visibility databases I use MySQL 8.0.45. I get the following e…

---

## [Cross-region MySQL Deployment - context deadline exceeded errors in history pod](https://community.temporal.io/t/cross-region-mysql-deployment-context-deadline-exceeded-errors-in-history-pod/18693)

<div class="topic-metadata">

**Author:** [@lss](https://community.temporal.io/u/lss)\
**Replies:** 2\
**Last updated:** [March 1, 2026, 2:14am UTC](https://community.temporal.io/t/cross-region-mysql-deployment-context-deadline-exceeded-errors-in-history-pod/18693 "2026-03-01T02:14:53Z")

</div>

Hi temporal team, We are experiencing persistent “context deadline exceeded” errors in our Temporal deployment, specifically in the temporal-history pod. Here’s our setup: Temporal v 1.21.3 on Kubernetes cluster in In…

---

## [Sluggish UI and High CPU](https://community.temporal.io/t/sluggish-ui-and-high-cpu/18659)

<div class="topic-metadata">

**Author:** [@Schlachtacw](https://community.temporal.io/u/Schlachtacw)\
**Replies:** 6\
**Last updated:** [December 6, 2025, 5:26pm UTC](https://community.temporal.io/t/sluggish-ui-and-high-cpu/18659 "2025-12-06T17:26:51Z")

</div>

Hello, We are using mysqldb version 8 and Temporal app version 1.28.0 running on AKS. Everything is Azure based Our mysql server is running 4vcores, 8g memory, 4000 iops. We have done performance testing where we can h…

---

## ["context deadline exceeded" on VisibilityDeleteExecution](https://community.temporal.io/t/context-deadline-exceeded-on-visibilitydeleteexecution/18027)

<div class="topic-metadata">

**Author:** [@vkruoso](https://community.temporal.io/u/vkruoso)\
**Replies:** 3\
**Last updated:** [November 28, 2025, 6:42pm UTC](https://community.temporal.io/t/context-deadline-exceeded-on-visibilitydeleteexecution/18027 "2025-11-28T18:42:00Z")

</div>

Hi all, I’m having issues with a lot of logs in the history service that indicate that context deadline exceeded error on VisibilityDeleteExecution. My temporal.visibility\_tasks has around 57M rows and metrics show a ve…

---

## [Archival and docker-compose](https://community.temporal.io/t/archival-and-docker-compose/1120)

<div class="topic-metadata">

**Author:** [@Pedro\_Almeida](https://community.temporal.io/u/Pedro_Almeida)\
**Replies:** 5\
**Last updated:** [November 2, 2025, 3:11pm UTC](https://community.temporal.io/t/archival-and-docker-compose/1120 "2025-11-02T15:11:30Z")

</div>

Hello, We currently use temporal server with docker-compose. Looking into the Archival Docs, seems it is not supported when running with docker-compose? Just wondering if there is a workaround before thinking in chan…

---

## [Allow Temporal and Visibility Schemas in a Single Database by Renaming schema\_version Table](https://community.temporal.io/t/allow-temporal-and-visibility-schemas-in-a-single-database-by-renaming-schema-version-table/17151)

<div class="topic-metadata">

**Author:** [@Dorijan](https://community.temporal.io/u/Dorijan)\
**Replies:** 1\
**Last updated:** [April 20, 2025, 1:13pm UTC](https://community.temporal.io/t/allow-temporal-and-visibility-schemas-in-a-single-database-by-renaming-schema-version-table/17151 "2025-04-20T13:13:50Z")

</div>

Currently, Temporal and Temporal Visibility schemas can’t coexist in one database because both use the same schema\_version table, causing version conflicts and blocking seamless upgrades. Would it be possible renaming t…

---

## [Is there a problem if workflowCacheSize \> maxWorkflowThreadCount to deal with high latency for GetWorkflowExecution](https://community.temporal.io/t/is-there-a-problem-if-workflowcachesize-maxworkflowthreadcount-to-deal-with-high-latency-for-getworkflowexecution/16811)

<div class="topic-metadata">

**Author:** [@JamesTran](https://community.temporal.io/u/JamesTran)\
**Replies:** 2\
**Last updated:** [March 17, 2025, 9:26am UTC](https://community.temporal.io/t/is-there-a-problem-if-workflowcachesize-maxworkflowthreadcount-to-deal-with-high-latency-for-getworkflowexecution/16811 "2025-03-17T09:26:24Z")

</div>

In PROD, during peak periods when there are a lot of tasks to do, we noticed the latency for “GetWorkflowExecution” jumped very high compared to 20-50ms outside peak periods. We recently increased shard count from…

---

## [Bottleneck at scaling Temporal server](https://community.temporal.io/t/bottleneck-at-scaling-temporal-server/16706)

<div class="topic-metadata">

**Author:** [@Ethan](https://community.temporal.io/u/Ethan)\
**Replies:** 1\
**Last updated:** [March 11, 2025, 9:38am UTC](https://community.temporal.io/t/bottleneck-at-scaling-temporal-server/16706 "2025-03-11T09:38:32Z")

</div>

Hello Community, Recently we built a cluster with temporal/server-1.24.3. And we’ve been improving performance of it but we seems to hit a wall. So I am reaching out to see if we can get some suggestions from the commun…

---

## [Failed to update current execution. Error](https://community.temporal.io/t/failed-to-update-current-execution-error/1729)

<div class="topic-metadata">

**Author:** [@Ryan\_Qian](https://community.temporal.io/u/Ryan_Qian)\
**Replies:** 8\
**Last updated:** [March 2, 2025, 8:59am UTC](https://community.temporal.io/t/failed-to-update-current-execution-error/1729 "2025-03-02T08:59:14Z")

</div>

temporal version: 1.7.0 es version 7.10.1 logs: I have two nodes running temporal server as a cluster, bellow error only emmited on one node, another one didn’t have this kind of error. After change log level from "e…

---

## [Temporal connectivity with MySQL](https://community.temporal.io/t/temporal-connectivity-with-mysql/5391)

<div class="topic-metadata">

**Author:** [@sahir](https://community.temporal.io/u/sahir)\
**Replies:** 14\
**Last updated:** [December 16, 2024, 7:49pm UTC](https://community.temporal.io/t/temporal-connectivity-with-mysql/5391 "2024-12-16T19:49:41Z")

</div>

Hi Team, I want to connect my existing mysql database into the temporal Instead of Cassandra. I configured the mysql credentials in values.mysql.yaml file like this server: config: persistence: default: …

---

## [The status in executions\_visibility table updated failed](https://community.temporal.io/t/the-status-in-executions-visibility-table-updated-failed/7675)

<div class="topic-metadata">

**Author:** [@zhangkyou](https://community.temporal.io/u/zhangkyou)\
**Replies:** 9\
**Last updated:** [November 7, 2024, 3:06pm UTC](https://community.temporal.io/t/the-status-in-executions-visibility-table-updated-failed/7675 "2024-11-07T15:06:02Z")

</div>

My temporal cluster have two server nodes.I guess this promblem only appear in multi server nodes scene. I use samples-go/cron to test the two server nodes temporal cluster.I find some workflow executions didn’t update …

---

## [Unable to create 3rd search attribute of type int on mysql8 advanced visibility](https://community.temporal.io/t/unable-to-create-3rd-search-attribute-of-type-int-on-mysql8-advanced-visibility/13626)

<div class="topic-metadata">

**Author:** [@davidn](https://community.temporal.io/u/davidn)\
**Replies:** 4\
**Last updated:** [October 9, 2024, 4:45pm UTC](https://community.temporal.io/t/unable-to-create-3rd-search-attribute-of-type-int-on-mysql8-advanced-visibility/13626 "2024-10-09T16:45:24Z")

</div>

I was able to add 2 custom search attributes, but on the 3rd one, I get this error: $ temporal operator search-attribute create --name=“companyId” --type=“Int” Error: unable to add search attributes: Failed to add sear…

---

## [Schema setup and update jobs for MySQL](https://community.temporal.io/t/schema-setup-and-update-jobs-for-mysql/5615)

<div class="topic-metadata">

**Author:** [@fivos](https://community.temporal.io/u/fivos)\
**Replies:** 2\
**Last updated:** [October 2, 2024, 5:27am UTC](https://community.temporal.io/t/schema-setup-and-update-jobs-for-mysql/5615 "2024-10-02T05:27:38Z")

</div>

Hi, I’m trying to deploy Temporal on a Kubernetes cluster using the helm chart. I’m using MySQL as the DB and would like to enable the schema setup and update jobs to setup the required schema. I ran into an issue with…

---

## [Temporal PODS not coming up with "index\_not\_found\_exception" error](https://community.temporal.io/t/temporal-pods-not-coming-up-with-index-not-found-exception-error/9010)

<div class="topic-metadata">

**Author:** [@nkkrishna](https://community.temporal.io/u/nkkrishna)\
**Replies:** 3\
**Last updated:** [July 29, 2024, 9:48am UTC](https://community.temporal.io/t/temporal-pods-not-coming-up-with-index-not-found-exception-error/9010 "2024-07-29T09:48:25Z")

</div>

I am trying to deploy temporal using latest helm charts in GCP with mysql8 instance. Elasticsearch, admin-tools and web pods are up and running. All the other pods like history, frontend, matching and history pods are in…

---

## [Impact on using single RDS for both Application DB and Temporal DB](https://community.temporal.io/t/impact-on-using-single-rds-for-both-application-db-and-temporal-db/12799)

<div class="topic-metadata">

**Author:** [@Nirmal\_Balaji\_Packir](https://community.temporal.io/u/Nirmal_Balaji_Packir)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 5:52am UTC](https://community.temporal.io/t/impact-on-using-single-rds-for-both-application-db-and-temporal-db/12799 "2024-07-12T05:52:49Z")

</div>

We have a AWS RDS instance, that holds a DB with customer data in used by our custom application. If we were to use the same RDS to host temporal and temporal\_visibility DBs, what will be the impact on CPU/memory/storage…

---

## [MySQL Query timeout config / Slow query](https://community.temporal.io/t/mysql-query-timeout-config-slow-query/12651)

<div class="topic-metadata">

**Author:** [@Nirmal\_Balaji\_Packir](https://community.temporal.io/u/Nirmal_Balaji_Packir)\
**Replies:** 0\
**Last updated:** [June 26, 2024, 4:34pm UTC](https://community.temporal.io/t/mysql-query-timeout-config-slow-query/12651 "2024-06-26T16:34:25Z")

</div>

We are trying to set-up temporal with a MySQL instance which has the database that our application uses that holds customer data. In the same instance, we have created a separate DB for temporal and temporal\_visiblity. …

---

## [How to customize workflow type name?](https://community.temporal.io/t/how-to-customize-workflow-type-name/1098)

<div class="topic-metadata">

**Author:** [@Chitresh\_Deshpande](https://community.temporal.io/u/Chitresh_Deshpande)\
**Replies:** 15\
**Last updated:** [April 23, 2024, 12:16pm UTC](https://community.temporal.io/t/how-to-customize-workflow-type-name/1098 "2024-04-23T12:16:33Z")

</div>

Hi Folks We’ve a use-case where we might create workflows from DDL. AFAIK, workflowTypes are named after the main method for that workflow. Given our DDL use-case, we would like to change the type to a customized name. …

---

## [Use secret manager instead of mysql environment variables](https://community.temporal.io/t/use-secret-manager-instead-of-mysql-environment-variables/6138)

<div class="topic-metadata">

**Author:** [@Dhanabal2710](https://community.temporal.io/u/Dhanabal2710)\
**Replies:** 2\
**Last updated:** [April 19, 2024, 8:37am UTC](https://community.temporal.io/t/use-secret-manager-instead-of-mysql-environment-variables/6138 "2024-04-19T08:37:05Z")

</div>

We have configured temporal in GKE with workload identity enabled we are using cloudsql proxy mysql. In order connect to database temporal needs mysql DB name, MYSQL\_USERNAME, MYSQL\_PASSWORD. We don’t want to keep envir…

---

## [Migrating Temporal server data from MySQL 5.7 to 8.0?](https://community.temporal.io/t/migrating-temporal-server-data-from-mysql-5-7-to-8-0/11509)

<div class="topic-metadata">

**Author:** [@alex\_pham](https://community.temporal.io/u/alex_pham)\
**Replies:** 0\
**Last updated:** [March 26, 2024, 10:02am UTC](https://community.temporal.io/t/migrating-temporal-server-data-from-mysql-5-7-to-8-0/11509 "2024-03-26T10:02:28Z")

</div>

Hi Temporal community, My team is migrating Temporal server data from MySQL 5.7 cluster to MySQL 8.0. I do not find any documentation relating to this scenario. I only found the article about schema migration instead (U…

---

## [Temporal with MySQL](https://community.temporal.io/t/temporal-with-mysql/11214)

<div class="topic-metadata">

**Author:** [@kobik2](https://community.temporal.io/u/kobik2)\
**Replies:** 0\
**Last updated:** [March 1, 2024, 6:55am UTC](https://community.temporal.io/t/temporal-with-mysql/11214 "2024-03-01T06:55:21Z")

</div>

Hi everyone! Could you help please, I use repo: And MySQL from: Errors: and logs from Worker: \[Fx\] Error returned: received non-nil error from function .ServerOptionsProvider /home/builder/temporal/temporal/fx…

---

## [Mysql schema compatibility error when starting temporal service](https://community.temporal.io/t/mysql-schema-compatibility-error-when-starting-temporal-service/2117)

<div class="topic-metadata">

**Author:** [@yesadi](https://community.temporal.io/u/yesadi)\
**Replies:** 6\
**Last updated:** [January 25, 2024, 9:10am UTC](https://community.temporal.io/t/mysql-schema-compatibility-error-when-starting-temporal-service/2117 "2024-01-25T09:10:13Z")

</div>

Hi I have a setup of MySQL which I would like to use with temporal service. I do not have root access hence earlier was getting creating database temporal and temporal\_visibility errors. I fixed this by getting db create…

---

## [Making DB calls and rate limiting ReST calls in a multi-worker environment](https://community.temporal.io/t/making-db-calls-and-rate-limiting-rest-calls-in-a-multi-worker-environment/10419)

<div class="topic-metadata">

**Author:** [@batman](https://community.temporal.io/u/batman)\
**Replies:** 2\
**Last updated:** [December 21, 2023, 1:53pm UTC](https://community.temporal.io/t/making-db-calls-and-rate-limiting-rest-calls-in-a-multi-worker-environment/10419 "2023-12-21T13:53:48Z")

</div>

Hello Temporal Gurus, We have the following workflow to be implemented in temporal. Workflow: { make\_db\_call(); invoke\_ReST\_API\_1(); //rate limited to 10 calls per sec invoke\_ReST\_API\_2(); //rate limited to 5 calls…

---

## [Temporal UI does not show archived workflows](https://community.temporal.io/t/temporal-ui-does-not-show-archived-workflows/10252)

<div class="topic-metadata">

**Author:** [@tausif\_28](https://community.temporal.io/u/tausif_28)\
**Replies:** 5\
**Last updated:** [December 13, 2023, 5:08am UTC](https://community.temporal.io/t/temporal-ui-does-not-show-archived-workflows/10252 "2023-12-13T05:08:21Z")

</div>

We enabled the archival for the cluster by setting this server: enabled: true image: repository: temporalio/server tag: 1.21.5 replicaCount: 1 frontend: replicaCount: 1 history: replicaCount: 1…

---

## [Unable to get a working custom temporal server](https://community.temporal.io/t/unable-to-get-a-working-custom-temporal-server/1915)

<div class="topic-metadata">

**Author:** [@WvdL](https://community.temporal.io/u/WvdL)\
**Replies:** 8\
**Last updated:** [October 30, 2023, 8:03am UTC](https://community.temporal.io/t/unable-to-get-a-working-custom-temporal-server/1915 "2023-10-30T08:03:45Z")

</div>

Hi, As a poc i tried in a k8s the helm standalone script. Works great, we managed to convice the stakeholders we should use it. Now i want to deploy it in our regular way. can’t get it to work. Situation: All deploy…

---

## [How to persist data on web UI even if the container restarts](https://community.temporal.io/t/how-to-persist-data-on-web-ui-even-if-the-container-restarts/9593)

<div class="topic-metadata">

**Author:** [@Yuen\_Yalung](https://community.temporal.io/u/Yuen_Yalung)\
**Replies:** 4\
**Last updated:** [September 27, 2023, 5:16am UTC](https://community.temporal.io/t/how-to-persist-data-on-web-ui-even-if-the-container-restarts/9593 "2023-09-27T05:16:20Z")

</div>

I’m having trouble retrieving data on the UI even though I have a separate mysql instance, when the temporal server restarts the workflow data on the UI is gone, I’m I missing something here? like volume mounting on elas…

[Next page](https://community.temporal.io/tag/mysql/6.md?match_all_tags=true&page=1&tags%5B%5D=mysql)
