Skip to content

feat(tauri): MySQL sqlx adapter (connect + query stream) (#1883) - #1985

Merged
ZhuchkaTriplesix merged 2 commits into
epic/tauri-migrationfrom
issue/1883-mysql-sqlx-adapter
Nov 15, 2026
Merged

ZhuchkaTriplesix merged 2 commits into
epic/tauri-migrationfrom
issue/1883-mysql-sqlx-adapter

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • sqlx MySQL session + streamed db_execute_query decode for common types
  • Object tree: databases → tables/views → columns
  • db_connect_mysql / profiles_connect_mysql + keyring password
  • New Connection dialog MySQL form (host/port/db/user/password)

Test plan

  • New Connection → MySQL → connect to local server; expands object tree
  • Open a table → Data tab loads rows; SQL editor runs SELECT 1
  • Reconnect from saved profile uses keyring password
  • cargo test --lib mysql and cargo clippy --lib -- -D warnings pass
  • pnpm typecheck in apps/tauri passes

Closes #1883

Wire sqlx MySQL connect/disconnect, batched query streaming, basic
object tree (databases → tables/views → columns), profiles+keyring, and
a New Connection MySQL form so the driver is usable from the UI.

Closes #1883
@github-actions github-actions Bot added mysql MySQL database driver and workspace backend Backend database driver execution and queries P1 High priority / Core capability tauri Tauri 2 / apps/tauri migration track rust Rust backend (src-tauri / crates) labels Nov 15, 2026
@github-actions github-actions Bot added this to the Tauri migration milestone Nov 15, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 7f7f8b7 into epic/tauri-migration Nov 15, 2026
3 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/1883-mysql-sqlx-adapter branch November 15, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend database driver execution and queries mysql MySQL database driver and workspace P1 High priority / Core capability rust Rust backend (src-tauri / crates) tauri Tauri 2 / apps/tauri migration track

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant