25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix(mysql): support sha256_password authentication
t8y2556edaf193e1
diff --git a/Cargo.lock b/Cargo.lockindex 50ea773bd3..4325cceb99 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -4521,8 +4521,7 @@ dependencies = [[[package]]name = "mysql-common-derive"version = "0.32.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "66f62cad7623a9cb6f8f64037f0c4f69c8db8e82914334a83c9788201c2c1bfa"+source = "git+https://github.com/t8y2/rust_mysql_common.git?rev=5b30d4912ebb23728f1196b2b9eb928eebb73f92#5b30d4912ebb23728f1196b2b9eb928eebb73f92"dependencies = ["darling 0.20.11","heck 0.5.0",@@ -4539,8 +4538,7 @@ dependencies = [[[package]]name = "mysql_async"version = "0.36.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "d1d9585dc9058886ff3a1f48a23024dd1d054264dee7c5ae0e4bd640c953bee5"+source = "git+https://github.com/t8y2/mysql_async.git?rev=7b565fbe76a168828189f7b98fe3b1989344c54e#7b565fbe76a168828189f7b98fe3b1989344c54e"dependencies = ["bytes","crossbeam-queue",@@ -4571,8 +4569,7 @@ dependencies = [[[package]]name = "mysql_common"version = "0.35.5"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "fbb9f371618ce723f095c61fbcdc36e8936956d2b62832f9c7648689b338e052"+source = "git+https://github.com/t8y2/rust_mysql_common.git?rev=5b30d4912ebb23728f1196b2b9eb928eebb73f92#5b30d4912ebb23728f1196b2b9eb928eebb73f92"dependencies = ["base64 0.22.1","bitflags 2.11.1",diff --git a/Cargo.toml b/Cargo.tomlindex 6879a0b8d9..3b7c4450d5 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -6,6 +6,10 @@ members = ["src-tauri", "crates/dbx-core", "crates/dbx-web"]tokio-postgres = { git = "https://github.com/t8y2/tokio-postgres-gaussdb.git", branch = "master" }postgres-types = { git = "https://github.com/t8y2/tokio-postgres-gaussdb.git", branch = "master" }postgres-protocol = { git = "https://github.com/t8y2/tokio-postgres-gaussdb.git", branch = "master" }+# Temporary compatibility patch for MySQL accounts using the deprecated+# sha256_password auth plugin. Remove after upstream support lands.+mysql_async = { git = "https://github.com/t8y2/mysql_async.git", rev = "7b565fbe76a168828189f7b98fe3b1989344c54e" }+mysql_common = { git = "https://github.com/t8y2/rust_mysql_common.git", rev = "5b30d4912ebb23728f1196b2b9eb928eebb73f92" }[profile.release]panic = "abort"