Skip to content

feat: Added support for MySQL. - #1567

Closed
johansja wants to merge 1 commit into
dapr:masterfrom
johansja:feat/workflow-mysql
Closed

feat: Added support for MySQL.#1567
johansja wants to merge 1 commit into
dapr:masterfrom
johansja:feat/workflow-mysql

Conversation

@johansja

@johansja johansja commented Nov 12, 2025

Copy link
Copy Markdown

Description

Support MySQL state store in dapr workflow list

Issue reference

#1568

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@johansja
johansja requested review from a team as code owners November 12, 2025 02:43
Comment thread pkg/workflow/db/sql.go

func ListSQL(ctx context.Context, db *sql.DB, table string, opts ListOptions) ([]string, error) {
query := fmt.Sprintf(`SELECT key FROM "%s" WHERE key LIKE ?;`, table)
query := fmt.Sprintf("SELECT `id` FROM `%s` WHERE `id` LIKE ?;", table)

@johansja johansja Nov 12, 2025

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is very likely that this line will break other state store. I just modify this based on what I am seeing from MySQL database that I'm currently seeing.

@dapr-bot

Copy link
Copy Markdown
Collaborator

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@dapr-bot dapr-bot added the stale label Dec 12, 2025
@johansja

Copy link
Copy Markdown
Author

keep alive

@dapr-bot dapr-bot removed the stale label Dec 15, 2025
@dapr-bot

Copy link
Copy Markdown
Collaborator

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@dapr-bot dapr-bot added the stale label Jan 14, 2026
@johansja

Copy link
Copy Markdown
Author

keep alive

@dapr-bot dapr-bot removed the stale label Jan 14, 2026
@cicoyle

cicoyle commented Jan 22, 2026

Copy link
Copy Markdown
Contributor

Hey @johansja - thx for the PR 🎉 - mind resolving the conflicts?

@JoshVanL

Copy link
Copy Markdown
Contributor

This is now fixed in master

@JoshVanL JoshVanL closed this Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants