temporalio / temporalio/temporal
Unable to create visibility database schema for MySQL
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
I’m trying to self-host Temporal v1.29 using Helm. For both default and visibility databases I use MySQL 8.0.45. I get the following error in the manage-schema-visibility-store job:
ERROR Unable to update SQL schema. {“error”: “error executing statement: Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '“$.TemporalChangeVersion”),\n ADD COLUMN BinaryChecksums JSON ’ at line 3”, “logging-call-at”: “/home/runner/work/docker-builds/docker-builds/temporal/tools/sql/handler.go:53”}
Maybe a smart quote issue? In the source code they seem to be normal quotes though.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the manage-schema-visibility-store job and the SQL error path mentioned at tools/sql/handler.go:53, then inspect the MySQL visibility schema statements used by Temporal v1.29. Reproduce with MySQL 8.0.45 and confirm the schema job completes successfully without the reported syntax error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, helm, mysql
- Domain
- databases, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100