# \#mysql

**URL:** https://community.temporal.io/tag/mysql/6.md?match_all_tags=true&page=1&tags%5B%5D=mysql

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

**Page:** 2

---

## [Error while running Temporal on TiDB](https://community.temporal.io/t/error-while-running-temporal-on-tidb/4159)

<div class="topic-metadata">

**Author:** [@arjunraman](https://community.temporal.io/u/arjunraman)\
**Replies:** 5\
**Last updated:** [September 19, 2023, 8:29am UTC](https://community.temporal.io/t/error-while-running-temporal-on-tidb/4159 "2023-09-19T08:29:36Z")

</div>

Hello, I’m trying to test Temporal on TiDB and see the below error message in the history server when trying to start an execution: {“level”:“error”,“ts”:“2022-03-10T23:35:44.820Z”,“msg”:“Operation failed with interna…

---

## [Implement Finite State Machine Transitioning in the workflow](https://community.temporal.io/t/implement-finite-state-machine-transitioning-in-the-workflow/8143)

<div class="topic-metadata">

**Author:** [@aprilc](https://community.temporal.io/u/aprilc)\
**Replies:** 10\
**Last updated:** [May 13, 2023, 4:24pm UTC](https://community.temporal.io/t/implement-finite-state-machine-transitioning-in-the-workflow/8143 "2023-05-13T16:24:01Z")

</div>

I’d like to design a Workflow A with a Finite State Machine (FSM) embedded within. This workflow is a long execution process that will be transitioned to multiple different stages based on the state received from inside …

---

## [High database calls](https://community.temporal.io/t/high-database-calls/7970)

<div class="topic-metadata">

**Author:** [@haojie](https://community.temporal.io/u/haojie)\
**Replies:** 0\
**Last updated:** [April 19, 2023, 9:52am UTC](https://community.temporal.io/t/high-database-calls/7970 "2023-04-19T09:52:04Z")

</div>

I have deployed a temporal cluster with single copy in kubernetes, and the backend database is mysql. When the temporal cluster is in an empty load state, the number of mysql calls within 5 minutes reaches 16811 times. …

---

## [Can anybody help me for the UpdateTaskQueue error?](https://community.temporal.io/t/can-anybody-help-me-for-the-updatetaskqueue-error/7913)

<div class="topic-metadata">

**Author:** [@zhangkyou](https://community.temporal.io/u/zhangkyou)\
**Replies:** 0\
**Last updated:** [April 14, 2023, 7:02am UTC](https://community.temporal.io/t/can-anybody-help-me-for-the-updatetaskqueue-error/7913 "2023-04-14T07:02:37Z")

</div>

It’s relate to this item: Temporal server with the error "UpdateTaskQueue failed" - #5 by zhangkyou

---

## [Resuming a failed workflow from the point of failure](https://community.temporal.io/t/resuming-a-failed-workflow-from-the-point-of-failure/7109)

<div class="topic-metadata">

**Author:** [@Siddharth\_Saxena](https://community.temporal.io/u/Siddharth_Saxena)\
**Replies:** 6\
**Last updated:** [February 7, 2023, 3:29am UTC](https://community.temporal.io/t/resuming-a-failed-workflow-from-the-point-of-failure/7109 "2023-02-07T03:29:49Z")

</div>

Hi team, I am a newbie. Would someone please help me understand if my workflow has 7 steps (activities). Workflow got failed while executing 5th one. How do I resume my workflow from the same point of failure. Please …

---

## [Not able to install temporal on qa machines using docker compose?](https://community.temporal.io/t/not-able-to-install-temporal-on-qa-machines-using-docker-compose/7174)

<div class="topic-metadata">

**Author:** [@aditi\_ritam](https://community.temporal.io/u/aditi_ritam)\
**Replies:** 4\
**Last updated:** [February 6, 2023, 6:47pm UTC](https://community.temporal.io/t/not-able-to-install-temporal-on-qa-machines-using-docker-compose/7174 "2023-02-06T18:47:42Z")

</div>

OperationalError: 14 UNAVAILABLE: DNS resolution failed temporal-web | at Object.exports.createStatusError (/usr/app/node\_modules/grpc/src/common.js:91:15) temporal-web | at Object.onRecei…

---

## [Issue with temporal-sql-tool command on GKE](https://community.temporal.io/t/issue-with-temporal-sql-tool-command-on-gke/6076)

<div class="topic-metadata">

**Author:** [@Dhanabal2710](https://community.temporal.io/u/Dhanabal2710)\
**Replies:** 2\
**Last updated:** [September 30, 2022, 4:46am UTC](https://community.temporal.io/t/issue-with-temporal-sql-tool-command-on-gke/6076 "2022-09-30T04:46:45Z")

</div>

I have configured temporal cluster on GKE and the DB is cloudsql mysql. All the environmental values are part of containers bash-5.1# env | grep -i sql SQL\_USER=user1 SQL\_HOST=127.0.0.1 SQL\_PASSWORD=password123 SQL…

---

## [How to provide DB credentials to temporal in production?](https://community.temporal.io/t/how-to-provide-db-credentials-to-temporal-in-production/4655)

<div class="topic-metadata">

**Author:** [@Ruchir](https://community.temporal.io/u/Ruchir)\
**Replies:** 2\
**Last updated:** [September 19, 2022, 8:05pm UTC](https://community.temporal.io/t/how-to-provide-db-credentials-to-temporal-in-production/4655 "2022-09-19T20:05:38Z")

</div>

Hi Experts, Currently, for Temporal helm charts, for connecting to a postgresql DB, following is the sample provided: server: config: persistence: default: driver: "sql" sql: driv…

---

## [Failed to lock task queue. Error: sql: no rows in result set](https://community.temporal.io/t/failed-to-lock-task-queue-error-sql-no-rows-in-result-set/1197)

<div class="topic-metadata">

**Author:** [@Pedro\_Almeida](https://community.temporal.io/u/Pedro_Almeida)\
**Replies:** 4\
**Last updated:** [September 11, 2022, 12:57am UTC](https://community.temporal.io/t/failed-to-lock-task-queue-error-sql-no-rows-in-result-set/1197 "2022-09-11T00:57:30Z")

</div>

Hello, This morning the list ow workers for our task-queue was empty, although we have 8 instances running. We were receiving new workflow executions, but they were not being processed. Looking into server logs, we have…

---

## [Temporal Performance with golang microservices](https://community.temporal.io/t/temporal-performance-with-golang-microservices/5552)

<div class="topic-metadata">

**Author:** [@hossein](https://community.temporal.io/u/hossein)\
**Replies:** 9\
**Last updated:** [August 7, 2022, 5:38pm UTC](https://community.temporal.io/t/temporal-performance-with-golang-microservices/5552 "2022-08-07T17:38:23Z")

</div>

Hi, I have a project that is very similar to the project described here, we have only 1 workflow with 2 activities, the first activity is responsible for sending an HTTP request to a downstream service (with 100ms respo…

---

## [Error: Task queue range ID was X when it was should have been Y](https://community.temporal.io/t/error-task-queue-range-id-was-x-when-it-was-should-have-been-y/4236)

<div class="topic-metadata">

**Author:** [@buhay](https://community.temporal.io/u/buhay)\
**Replies:** 8\
**Last updated:** [July 18, 2022, 4:21pm UTC](https://community.temporal.io/t/error-task-queue-range-id-was-x-when-it-was-should-have-been-y/4236 "2022-07-18T16:21:10Z")

</div>

Question: What is the severity of this error log message and is the issue automatically reconciled? { "level": "error", "ts": "2022-03-22T00:23:20.525Z", "msg": "Persistent store operation failure", "service": "…

---

## [Temporal mysql db usage](https://community.temporal.io/t/temporal-mysql-db-usage/5049)

<div class="topic-metadata">

**Author:** [@pradnya.bhalekar](https://community.temporal.io/u/pradnya.bhalekar)\
**Replies:** 2\
**Last updated:** [June 24, 2022, 7:02pm UTC](https://community.temporal.io/t/temporal-mysql-db-usage/5049 "2022-06-24T19:02:27Z")

</div>

i am trying to connect to external aws mysql rds: environment: - DB=mysql - DB\_PORT=3327 - MYSQL\_USER=temporal - MYSQL\_PWD= - MYSQL\_SEEDS= - DYNAMIC\_CONFIG\_FILE\_PATH=config/dynamicconfig/development.yaml - SKIP\_D…

---

## [Temporal server startup](https://community.temporal.io/t/temporal-server-startup/4989)

<div class="topic-metadata">

**Author:** [@shiva0612](https://community.temporal.io/u/shiva0612)\
**Replies:** 4\
**Last updated:** [June 22, 2022, 1:23am UTC](https://community.temporal.io/t/temporal-server-startup/4989 "2022-06-22T01:23:03Z")

</div>

my requirement : Need to run temoral with mysql running outside the docker-compose what did I do : cloned the docker-compose repo and changed the docker-compose as follows version: "3.5" services: temporal: …

---

## [About history\_node table](https://community.temporal.io/t/about-history-node-table/4971)

<div class="topic-metadata">

**Author:** [@guofeng](https://community.temporal.io/u/guofeng)\
**Replies:** 5\
**Last updated:** [June 16, 2022, 2:55pm UTC](https://community.temporal.io/t/about-history-node-table/4971 "2022-06-16T14:55:00Z")

</div>

Dear Developers, What does each row of data in the history\_node table? Or when will insert a new data into it？ Recently we found that the tps of mysql is very high, there are many history\_node related operations.

---

## [Run MySQL database outside of Docker](https://community.temporal.io/t/run-mysql-database-outside-of-docker/2694)

<div class="topic-metadata">

**Author:** [@smiley](https://community.temporal.io/u/smiley)\
**Replies:** 8\
**Last updated:** [June 14, 2022, 8:59am UTC](https://community.temporal.io/t/run-mysql-database-outside-of-docker/2694 "2022-06-14T08:59:02Z")

</div>

How does one run temporal.io with a MySQL back-end database that is not running in Docker? i.e. it runs on a separate host than temporal.? For example, how is the MySQL endpoint made known to the temporal server? How …

---

## [MySQL schema upgrade script](https://community.temporal.io/t/mysql-schema-upgrade-script/4565)

<div class="topic-metadata">

**Author:** [@William\_Lam](https://community.temporal.io/u/William_Lam)\
**Replies:** 5\
**Last updated:** [May 7, 2022, 3:35pm UTC](https://community.temporal.io/t/mysql-schema-upgrade-script/4565 "2022-05-07T15:35:56Z")

</div>

Hi, Referring to this post, we would like to find out if mySQL upgrade script is available outside of the schema upgrade tool? I can see the creation script is in the repo, but cannot find the upgrade ones. Our product…

---

## [SQL schema issue while installing Temporal v1.16.1](https://community.temporal.io/t/sql-schema-issue-while-installing-temporal-v1-16-1/4599)

<div class="topic-metadata">

**Author:** [@Ruchir](https://community.temporal.io/u/Ruchir)\
**Replies:** 2\
**Last updated:** [May 3, 2022, 5:09am UTC](https://community.temporal.io/t/sql-schema-issue-while-installing-temporal-v1-16-1/4599 "2022-05-03T05:09:21Z")

</div>

Hi, I am trying to setup Temporal v1.16.1 on Kubernetes cluster. I was following these steps, for setting up default and visibility schema. The first error I got while running make temporal-sql-tool was: # go.temporal…

---

## [Possible support for postgresql in helm charts?](https://community.temporal.io/t/possible-support-for-postgresql-in-helm-charts/4562)

<div class="topic-metadata">

**Author:** [@Ruchir](https://community.temporal.io/u/Ruchir)\
**Replies:** 3\
**Last updated:** [April 28, 2022, 3:21pm UTC](https://community.temporal.io/t/possible-support-for-postgresql-in-helm-charts/4562 "2022-04-28T15:21:45Z")

</div>

Hi, In the following helm-charts/server-job.yaml at v1.16.1 · temporalio/helm-charts · GitHub the setup schema(line 93) is only supported for Cassandra. Would it support other DBs like Postgres or MySql in future?

---

## [Getting error in workflow when waiting for 2 hours and querying at the same time](https://community.temporal.io/t/getting-error-in-workflow-when-waiting-for-2-hours-and-querying-at-the-same-time/4398)

<div class="topic-metadata">

**Author:** [@sp13](https://community.temporal.io/u/sp13)\
**Replies:** 7\
**Last updated:** [April 12, 2022, 5:29am UTC](https://community.temporal.io/t/getting-error-in-workflow-when-waiting-for-2-hours-and-querying-at-the-same-time/4398 "2022-04-12T05:29:42Z")

</div>

We have seen random errors in production when executing our workflow. It happens with combination of events coming after 2 hours and while querying the workflow at same time. Below is the error from temporal events. io…

---

## [Temporal Worker pod crashing in local kubernetes environment configured with MySQL](https://community.temporal.io/t/temporal-worker-pod-crashing-in-local-kubernetes-environment-configured-with-mysql/4362)

<div class="topic-metadata">

**Author:** [@swapnilk26](https://community.temporal.io/u/swapnilk26)\
**Replies:** 2\
**Last updated:** [April 8, 2022, 9:05am UTC](https://community.temporal.io/t/temporal-worker-pod-crashing-in-local-kubernetes-environment-configured-with-mysql/4362 "2022-04-08T09:05:46Z")

</div>

Hi , I am trying to deploy temporal in local k8s cluster using helm charts and MySQL . After deployement the worker pod keeps crashing The command used to install : elm install -f values/values.mysql.yaml t…

---

## [Is it possible to migrate temporal from mysql to postgres](https://community.temporal.io/t/is-it-possible-to-migrate-temporal-from-mysql-to-postgres/4379)

<div class="topic-metadata">

**Author:** [@shawel\_negussie](https://community.temporal.io/u/shawel_negussie)\
**Replies:** 1\
**Last updated:** [April 7, 2022, 3:06pm UTC](https://community.temporal.io/t/is-it-possible-to-migrate-temporal-from-mysql-to-postgres/4379 "2022-04-07T15:06:51Z")

</div>

We have temporal workflow running backed by mysql. We are in the process of moving our systems from mysql to postgres!

---

## [Possible to store workflow/activity data in another database(own database)](https://community.temporal.io/t/possible-to-store-workflow-activity-data-in-another-database-own-database/4297)

<div class="topic-metadata">

**Author:** [@Nikitapatel](https://community.temporal.io/u/Nikitapatel)\
**Replies:** 7\
**Last updated:** [March 31, 2022, 5:21am UTC](https://community.temporal.io/t/possible-to-store-workflow-activity-data-in-another-database-own-database/4297 "2022-03-31T05:21:47Z")

</div>

Having few questions If we wants to capture the workflow/activity data in our own database along with Temporal database then is it possible? Is temporal exposing any API where we can fetch data from temporal and st…

---

## [SQL replication capability for temporal postgres db](https://community.temporal.io/t/sql-replication-capability-for-temporal-postgres-db/4293)

<div class="topic-metadata">

**Author:** [@Nikitapatel](https://community.temporal.io/u/Nikitapatel)\
**Replies:** 4\
**Last updated:** [March 29, 2022, 5:13am UTC](https://community.temporal.io/t/sql-replication-capability-for-temporal-postgres-db/4293 "2022-03-29T05:13:29Z")

</div>

Hello Team, Just wanted to check is temporal providing SQL replication features ? suppose if there is a scenario like A workflow is running and MySQL/PostgreSQL DB of temporal went down. Can temporal service pick data f…

---

## [Temporal auto setup on docket overlay](https://community.temporal.io/t/temporal-auto-setup-on-docket-overlay/4301)

<div class="topic-metadata">

**Author:** [@kalki](https://community.temporal.io/u/kalki)\
**Replies:** 1\
**Last updated:** [March 28, 2022, 9:01pm UTC](https://community.temporal.io/t/temporal-auto-setup-on-docket-overlay/4301 "2022-03-28T21:01:29Z")

</div>

Hi , I am running temporal(temporal auto-setup(server) , temporal web and temporal client) in docker swarm (overlay n/w). When I try to access temporal web using URL http://host:8088/namespaces, I get below error . O…

---

## [What is the default maxConns for sql datasource?](https://community.temporal.io/t/what-is-the-default-maxconns-for-sql-datasource/4210)

<div class="topic-metadata">

**Author:** [@voropava](https://community.temporal.io/u/voropava)\
**Replies:** 1\
**Last updated:** [March 18, 2022, 5:54pm UTC](https://community.temporal.io/t/what-is-the-default-maxconns-for-sql-datasource/4210 "2022-03-18T17:54:37Z")

</div>

Hey, folks. What is the default maxConns for sql datasource?

---

## [CPU Utilization with AWS RDS (MySQL)](https://community.temporal.io/t/cpu-utilization-with-aws-rds-mysql/3252)

<div class="topic-metadata">

**Author:** [@Lam\_Tran](https://community.temporal.io/u/Lam_Tran)\
**Replies:** 34\
**Last updated:** [March 14, 2022, 6:03pm UTC](https://community.temporal.io/t/cpu-utilization-with-aws-rds-mysql/3252 "2022-03-14T18:03:20Z")

</div>

Hi, has anyone faced an issue with CPU utilization in AWS RDS ? Here is my setup Temporal v1.13.0 RDS instance db.t3.small, running MySQL 8 (I tried MySQL 5.7 in RDS but still getting high cpu) No traffic comes in, jus…

---

## [Temporal mysql possible bug](https://community.temporal.io/t/temporal-mysql-possible-bug/3800)

<div class="topic-metadata">

**Author:** [@sp13](https://community.temporal.io/u/sp13)\
**Replies:** 3\
**Last updated:** [January 31, 2022, 3:51pm UTC](https://community.temporal.io/t/temporal-mysql-possible-bug/3800 "2022-01-31T15:51:03Z")

</div>

Hi, We are running temporal with mysql as backend. We run into frequent errors when a doing a parent → child workflow especially when child workflow id here is re-used. The effect is child workflow takes very long time…

---

## [Is it possible to deploy temporal app as sidecar container and let client provide configuration to build workflow during runtime](https://community.temporal.io/t/is-it-possible-to-deploy-temporal-app-as-sidecar-container-and-let-client-provide-configuration-to-build-workflow-during-runtime/3743)

<div class="topic-metadata">

**Author:** [@mehulthakkar](https://community.temporal.io/u/mehulthakkar)\
**Replies:** 3\
**Last updated:** [January 18, 2022, 7:40pm UTC](https://community.temporal.io/t/is-it-possible-to-deploy-temporal-app-as-sidecar-container-and-let-client-provide-configuration-to-build-workflow-during-runtime/3743 "2022-01-18T19:40:35Z")

</div>

Hello, I have used temporal saga and it works as expected. Now I would like to create a sidecar container which will have saga compensation for various databases like Mysql, cassandra, DB2. The client will pass their co…

---

## [Multi-Cluster Replication config changes corrupting database](https://community.temporal.io/t/multi-cluster-replication-config-changes-corrupting-database/3702)

<div class="topic-metadata">

**Author:** [@madhu](https://community.temporal.io/u/madhu)\
**Replies:** 12\
**Last updated:** [January 17, 2022, 11:16am UTC](https://community.temporal.io/t/multi-cluster-replication-config-changes-corrupting-database/3702 "2022-01-17T11:16:44Z")

</div>

I did a poc to set up a multi cluster env and i was able to do it successfully configure the same the details of what i tried are documented here → I tried this as a brand new setup. Now, i am trying to update an exis…

---

## [Migrating the temporal mysql DB which table we need to port](https://community.temporal.io/t/migrating-the-temporal-mysql-db-which-table-we-need-to-port/3605)

<div class="topic-metadata">

**Author:** [@Gautam\_Kakadiya](https://community.temporal.io/u/Gautam_Kakadiya)\
**Replies:** 0\
**Last updated:** [December 15, 2021, 7:41am UTC](https://community.temporal.io/t/migrating-the-temporal-mysql-db-which-table-we-need-to-port/3605 "2021-12-15T07:41:07Z")

</div>

We are Migrating the temporal Mysql DB and we have some running workflows in the current DB We don’t want to loose any running workflows , pls help which table from the bellow tables we need to port. As we are now migr…

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

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