# RedFoxDB **Repository Path**: redfox_vip/RedFoxDB ## Basic Information - **Project Name**: RedFoxDB - **Description**: RedFoxDB是一个通用的数据库管理和SQL客户端工具。 基于经典 SQLyog Community Edition 二次开发的 Windows 桌面端 MySQL/MariaDB 数据库管理工具。 在保留原版稳定内核的基础上,融入了大量现代化的功能增强——从 AI 智能助手 到 实时 SQL 编辑器,从 可视化数据对比到WinUI3/Fluent主题,让数据库管理更高效、更智能、更美观。 - **Primary Language**: C++ - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: https://gitee.com/redfox_vip/RedFoxDB - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 21 - **Created**: 2026-08-03 - **Last Updated**: 2026-08-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: RedFoxDB, 数据库管理工具, db, SQLyog, Navicat平替 ## README # RedFoxDB
🦊 免费开源 · 功能增强 · 开箱即用的 MySQL/MariaDB 可视化管理工具
🦊 Free & Open Source · Enhanced · Ready-to-Use MySQL/MariaDB GUI Client for Windows
--- ## About **RedFoxDB** is a Windows desktop GUI client for MySQL and MariaDB, forked from [SQLyog Community Edition](https://github.com/webyog/sqlyog-community) (GPL v2, Copyright (C) Webyog Inc. / Idera, Inc.). Built on the stable core of SQLyog Community, RedFoxDB brings modern productivity features — from an **AI-powered assistant** to a **live SQL editor**, from **visual data comparison** to a **WinUI3 Fluent Design theme** — making database management smarter, faster, and more beautiful. ### ⚡ Tech Stack & Performance Philosophy RedFoxDB is built with **pure C/C++ + Win32 API** — no Electron, no JVM, no web runtime. The result: | Dimension | RedFoxDB (Native C/C++) | Electron-based (e.g. DBeaver) | Java-based (e.g. DataGrip) | |-----------|------------------------|-------------------------------|---------------------------| | Startup | **Instant**, no cold-start lag | Loads Chromium engine, slow boot | JVM initialization, slow boot | | Memory | **Minimal**, typically 30-60 MB | 200 MB+, can reach GBs with tabs | 300 MB+, grows with project | | Installer size | **Compact**, no runtime bundled | Bundles full browser engine | Bundles JRE, heavy | | Rendering | **GDI+ anti-aliased**, 60fps smooth scroll | Web rendering, laggy on large datasets | Swing/JavaFX, poor HiDPI | | OS integration | **Native Win32 windows**, perfect HiDPI | Simulated native, minor inconsistencies | Non-native widgets, visual mismatch | We refuse to choose between **extreme performance** and **modern aesthetics**. Through our custom `wyFluent` visual engine, WinUI3 Fluent Design — mica gradients, rounded cards, anti-aliased icons — is rendered entirely on native GDI+ canvas. The result: **the snappy responsiveness of a native app with the refined look of a modern UI**. > **100% free. 100% open source. Licensed under GPL 2.0.** > No registration, no activation, no feature gating — download and run. --- ## Features Everything in SQLyog Community Edition, plus the following self-developed enhancements: ### 🤖 AI Assistant Built-in configurable multi-model chat panel supporting all OpenAI-compatible APIs. Switch freely between international and domestic LLMs (OpenAI, Claude, Qwen, DeepSeek, ERNIE, etc.). - Database context awareness — auto-attaches current schema for precise answers - Streaming SSE responses — real-time token-by-token output - SQL code blocks with syntax highlighting, plus Copy / Send to Editor / Ask Again buttons - Multi-session management with persistent history (up to 1 year) - Visual model configuration panel with DPAPI-encrypted API key storage - Quick-action chips: Optimize SQL / Explain Table / Generate Test Data ### 🔍 Inline Filter Bar Per-table embedded filter panel directly above the data grid — no popups needed. - Visual condition builder with AND/OR logic - Real-time SQL WHERE clause composition - Independent state per table — switching tabs preserves each filter ### 📝 Live SQL Editor Click "Apply Query" in the filter bar to convert visual conditions into editable SQL. Modify and execute instantly — seamless bridge between drag-and-drop filtering and hand-written queries. ### 🛠️ Advanced Tools Suite (SqTools) Premium features from the paid edition, fully unlocked: - **Database Sync Wizard** — cross-database schema comparison and synchronization - **Schema Sync** — column-level structural diff visualization - **Data Comparison** — row-by-row visual data diff with merge direction control - **CSV External Import** — flexible CSV import with field mapping and encoding options - **Scheduled Backup / Job Engine** — 30-second precision hidden timer, persisted in `redfoxdb_jobs.txt` ### 📊 SQL Formatter Toggle between compact (single-line) and formatted (beautified indent) SQL for the selected query only. ### 📋 EXPLAIN Query Analysis Community edition now includes the EXPLAIN results grid for query execution plan analysis. ### 🎨 WinUI3 Fluent Design Theme Custom `wyFluent` visual engine with GDI+ anti-aliased rendering: - Mica gradient backgrounds — native Windows 11 look and feel - Rounded cards + light-gray headers — modern visual hierarchy - Fluent line icons — full set including plus, gear, clock, filter, send, and more - Dark / Light mode auto-switching ### 📌 Object Browser Enhancement Pin databases to top or bottom for quick access in large projects. ### 🌐 Simplified Chinese UI by Default Ready to use out of the box. Full English interface also available. ### 📋 Copy As Context Menu Right-click result grid rows to copy in multiple formats: CSV, JSON, SQL INSERT, Tab-separated, and more. --- ## 📥 Download & Run 1. Click the button above, or go to the [Releases page](../../releases/) to download `Release.zip` 2. Extract to any directory 3. Double-click `RedFoxDB.exe` — **no installation, no registration, no runtime required** > 💡 You can also find the release package directly in this repository at `bin/x64/Release/Release.zip`. --- ## Building ``` Visual Studio solution: build/RedFoxDB.sln (project build/RedFoxDB.vcxproj) Configuration: Release | x64 Output: bin/x64/Release/RedFoxDB.exe ``` Command-line build: ```cmd MSBuild.exe build/RedFoxDB.vcxproj /p:Configuration=Release /p:Platform=x64 ``` The executable requires the DLLs shipped in `bin/x64/Release/` (MySQL client libraries, OpenSSL, SciLexer, HTMLayout, etc.). --- ## Comparison | Feature | SQLyog Community | RedFoxDB | |---------|:---:|:---:| | Basic connection / query editor | ✅ | ✅ | | Object browser | ✅ | ✅ Pin to top/bottom | | Data import/export | ✅ | ✅ | | **AI Assistant (multi-model)** | ❌ | ✅ | | **Inline filter bar** | ❌ | ✅ | | **Live SQL editor** | ❌ | ✅ | | **Database sync wizard** | ❌ | ✅ | | **Schema sync / data comparison** | ❌ | ✅ | | **Scheduled backup / job engine** | ❌ | ✅ | | **SQL formatter** | ❌ | ✅ | | **EXPLAIN query analysis** | ❌ | ✅ | | **WinUI3 Fluent theme** | ❌ | ✅ | | **Simplified Chinese default** | ❌ | ✅ | | **Copy As (multi-format)** | ❌ | ✅ | --- Highlighted Features: All new additions and modifications unlocking RedFoxDB's previously unavailable capabilities are made freely accessible to everyone. ## License Copyright (C) 2001-2025 Webyog Inc. / Idera, Inc. — original SQLyog Community Edition Copyright (C) 2026 RedFoxDB project — modifications and new modules RedFoxDB is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 (GPL-2.0-only). This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [GNU General Public License](LICENSE.md) for more details. Third-party components are listed in [NOTICE](NOTICE). "SQLyog" is a trademark of Webyog Inc. / Idera, Inc. This project is an independent fork and is not affiliated with, endorsed by, or sponsored by Webyog, Idera, or Quest Software. --- ## Acknowledgments RedFoxDB is based on [SQLyog Community Edition](https://github.com/webyog/sqlyog-community) (GPL v2, Copyright (C) Webyog Inc. / Idera, Inc.). Thanks to the Webyog team for open-sourcing this excellent database management tool, providing us with a solid foundation for development.