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(clickhouse): bypass system proxy to prevent connection failure
srako46eaaed8f14e
diff --git a/crates/dbx-core/src/db/clickhouse_driver.rs b/crates/dbx-core/src/db/clickhouse_driver.rsindex 8ed936d88f..dbd77bc1be 100644--- a/crates/dbx-core/src/db/clickhouse_driver.rs+++ b/crates/dbx-core/src/db/clickhouse_driver.rs@@ -17,7 +17,8 @@ pub struct ChClient {impl ChClient {pub fn new(url: &str, username: Option<String>, password: Option<String>, timeout: Duration) -> Self {- let http = HttpClient::builder().connect_timeout(timeout).build().unwrap_or_else(|_| HttpClient::new());+ let http =+ HttpClient::builder().connect_timeout(timeout).no_proxy().build().unwrap_or_else(|_| HttpClient::new());Self { http, base_url: url.trim_end_matches('/').to_string(), username, password }}@@ -28,7 +29,7 @@ impl ChClient {ca_cert_path: Option<&str>,timeout: Duration,) -> Result<Self, String> {- let mut builder = HttpClient::builder().connect_timeout(timeout);+ let mut builder = HttpClient::builder().connect_timeout(timeout).no_proxy();if let Some(path) = ca_cert_path.map(str::trim).filter(|path| !path.is_empty()) {let path = expand_cert_path(path);let cert_bytes =