Simple desktop tool to copy tables from a SQLite database (including Garry's Mod sv.db) into a MySQL database (for mysqloo-based addons or general use). Pick your DB, choose tables, enter MySQL details, hit Start.
- Reads a SQLite database file (e.g., GMod
sv.dbor any other.db/.sqlite) - Lets you select which tables to migrate
- Creates matching tables in MySQL with sensible type mapping
- Copies data in batches with progress and a live log
- Download the latest
sqlite2mysql.exefrom Releases and run it. No installation needed.
- Open the app.
- Click “Browse…” and select your
sv.db(usually ingarrysmod/sv.db). - Click “Load Tables”.
- Select one or more tables (or click “Select All”).
- Fill in MySQL details: host, port, user, password, database.
- Options (optional):
- Drop and recreate tables: clears existing tables before migrating
- Disable foreign key checks: helps when tables reference each other
- Click “Start Migration” and watch the log. When it says “Migration completed successfully.” you’re done.
- Back up your data first.
- If you’re unsure, test with a new/empty MySQL database.
- Large tables are handled in chunks so the app stays responsive.
- If your MySQL user doesn’t have permission to create databases/tables, uncheck “Create database if missing” and pre-create them.
- Can’t connect / access denied: check host/port/user/password. Try connecting with another MySQL client to verify.
- Unknown database: either create it in MySQL first or keep “Create database if missing” enabled.
- Foreign key errors: enable “Disable foreign key checks during import” or migrate referenced tables first.
- Character issues (e.g., emojis): the app creates tables with
utf8mb4by default. Ensure your MySQL server supports it.
- Type mapping is best-effort. Most GMod tables work out-of-the-box; addons with unusual schemas may need tweaks after migration.