How gravijet/easymysql works
EasyMySQL is a cross-platform MariaDB manager and desktop development environment. The main workflow is to open a project or database, work through SQL or visual editing tools, and execute changes against a database; users can also import/export data and manage the bundled server. Separate branches cover Java development, GitHub, AI assistants, and MCP clients. The source index and excerpts support the application, database, server, editor, and Java-tool relationships; several README-described capabilities have no sampled implementation, so their internal links are omitted.
Main entry points: app.rs Application shell · tabs/mod.rs Tab framework · db/mod.rs Database access · java/mod.rs Java projects
Components 22
Desktop workspace
- Application shell
src/app.rs - Projects and files
src/workspace.rs - Tab framework
src/tabs/mod.rs - Settings
src/settings.rs
Database tools
- Database access
src/db/mod.rs - MariaDB server
src/server.rs - SQL editor
src/sqledit/mod.rs - Table editing
src/tabs/data.rs - Query builder
src/tabs/builder/mod.rs - ER diagrams
src/tabs/er/mod.rs - Import and export
src/transfer/mod.rs - Backups
src/backup.rs
Development tools
- Java projects
src/dev/java/mod.rs - Java autofix
src/dev/autofix.rs - Language server
src/dev/lsp.rs - Integrated terminal
src/terminal/mod.rs - Git and GitHub
src/git/mod.rs
External integrations
- AI assistants
src/ai.rs - MCP interface
src/mcp/mod.rs
Other components
- User
- External databases
- AI providers
Connections 25
- User → Application shell: uses
- Application shell → Projects and files: opens files
src/app/shell.rs - Application shell → Tab framework: dispatches actions
src/app.rs - Application shell → Database access: uses
src/app.rs - Application shell → MariaDB server: manages
src/app.rs - Application shell → Settings: loads settings
src/app.rs - Tab framework → SQL editor: hosts editor
- SQL editor → Database access: executes SQL
src/sqledit/mod.rs - Tab framework → Table editing: hosts table view
src/tabs/mod.rs - Tab framework → Query builder: hosts builder
src/tabs/mod.rs - Tab framework → ER diagrams: hosts diagrams
src/tabs/mod.rs - Tab framework → Import and export: hosts transfer
- Import and export → External databases: imports and exports
- MariaDB server → Database access: provides connections
src/server.rs - MariaDB server → Backups: runs recovery
src/server.rs - Java projects → Database access: uses schema
src/dev/autofix.rs - Java projects → Java autofix: offers fixes
src/dev/autofix.rs - Java projects → Language server: uses language server
src/dev/lsp.rs - Java projects → Integrated terminal: runs programs
- Git and GitHub → External databases: uses GitHub
- AI assistants → AI providers: streams conversations
- MCP interface → Database access: exposes tools
src/mcp/mod.rs - Settings → MariaDB server: configures
src/settings.rs - Settings → Integrated terminal: configures
src/settings.rs - Settings → Git and GitHub: configures
src/settings.rs