mSQL

maintenance

by Hughes Technologies · since 1994 · also known as Mini SQL

Hughes Technologies' lightweight 1994 SQL server that powered early dynamic websites before MySQL.

relationaldatabase engineproprietarylegacy

maintenance. Still distributed by Hughes Technologies; last release mSQL 4.4 (Oct 2021), maintained mainly for OEM licensees.

Overview

mSQL (Mini SQL) is a small SQL database server that David Hughes wrote in 1993–94, first as an SQL front end to Postgres for his Minerva network-monitoring system and then as a standalone engine when Postgres proved too heavy for small machines. Together with Linux and cheap PCs it was one of the first affordable SQL databases for dynamic web sites in the mid-1990s, and MySQL's original C API was modelled on it before MySQL overtook it by the end of the decade. It implements a subset of SQL and was never open source: the source is available, use is free for non-commercial, educational and charitable purposes, and commercial users need a license. Hughes Technologies still ships it, mainly for OEM licensees; mSQL 4.4 came out in October 2021.

Strengths & trade-offs

Strengths

  • +Very small footprint; runs on minimal hardware
  • +Simple C API that shaped early MySQL
  • +Still available and maintained for embedded OEM use

Trade-offs

  • −Only a subset of SQL and no real transaction support
  • −Not open source; commercial use requires a license
  • −Tiny community and ecosystem compared with MySQL or SQLite

Great for

  • +Maintaining products that already embed mSQL
  • +History of 1990s web databases

Think twice for

  • −New web applications
  • −Workloads needing transactions or full SQL

Capabilities

Native or official first-party support · 3 of 25 tracked

✓Joins
✓Secondary indexes
✓Durable persistence
–Transactions
–Full-text search
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–TTL / expiry
–Pub/Sub
–Columnar storage
–In-memory
–Compression
–Encryption at rest
–Role-based access
–Time travel
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
None
Multi-region
No
Transactions
None
Consistency
Strong
Schema
Strict
Architecture
Client server, Single node
Query languages
SQL

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

apis & protocolsC API
client languagesC, Perl, Java, PHP

Alternatives to mSQL

Compare all→
MySQLRelational82.3

The web's default open-source SQL database, now on calendar versioning with 9.7 as the LTS line.

msql vs mysql →
PostgreSQLRelational93.2

The extensible, standards-first open-source relational database.

msql vs postgresql →
SQLiteRelational75.5

The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.

msql vs sqlite →
MariaDBRelational56.2

Community-led MySQL fork with extra storage engines, built-in Galera and a faster feature cadence.

msql vs mariadb →
Microsoft AccessRelational45.8

Desktop database and forms builder bundled with Microsoft 365; still everywhere in back offices.

msql vs microsoft-access →
FirebirdRelational32.8

Lightweight, MVCC relational database from the InterBase lineage, embeddable or client-server.

msql vs firebird →

mSQL FAQ

What is mSQL?

mSQL is a relational database by Hughes Technologies, first released in 1994. mSQL (Mini SQL) is a small SQL database server that David Hughes wrote in 1993–94, first as an SQL front end to Postgres for his Minerva network-monitoring system and then as a standalone engine when Postgres proved too heavy for small machines. Together with Linux and cheap PCs it was one of the first affordable SQL databases for dynamic web sites in the mid-1990s, and MySQL's original C API was modelled on it before MySQL overtook it by the end of the decade. It implements a subset of SQL and was never open source: the source is available, use is free for non-commercial, educational and charitable purposes, and commercial users need a license. Hughes Technologies still ships it, mainly for OEM licensees; mSQL 4.4 came out in October 2021.

Is mSQL open source?

No. mSQL is proprietary, closed-source software. License: mSQL license (free non-commercial use; commercial license required).

Does mSQL support ACID transactions?

No. mSQL does not provide ACID transactions; its consistency model is strong.

Does mSQL scale horizontally?

mSQL does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).

How can I run mSQL?

You can self-host it.

What is mSQL best for?

mSQL is a strong fit for maintaining products that already embed mSQL and history of 1990s web databases. Think twice for new web applications.

What are the best alternatives to mSQL?

Common alternatives to mSQL include MySQL, PostgreSQL, SQLite, MariaDB and Microsoft Access. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is mSQL still maintained?

mSQL is in maintenance mode. Still distributed by Hughes Technologies; last release mSQL 4.4 (Oct 2021), maintained mainly for OEM licensees.

How popular is mSQL?

mSQL ranks #417 of 844 databases on the WhichDB Score (4.2/100), and #134 among relational databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.