# VillageSQL = MySQL and Extensions

INSTALL EXTENSION vsql-complex; CREATE TABLE t (val COMPLEX); Look, MySQL is awesome [flamewar incoming?]. But the ecosystem has stagnated. Why? No permissionless innovation. Postgres has flourished because people can change the core of the database (look at pgvector and pg_textsearch), without hav…

- **Page:** https://magpie.gallery/i/villagesql-mysql-and-extensions-ljdi
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Tags:** database, mysql, extensions, open-source, sql

## Source

Web · metzby: VillageSQL = MySQL and Extensions

- **Original:** https://news.ycombinator.com/item?id=46900796

> INSTALL EXTENSION vsql-complex; CREATE TABLE t (val COMPLEX); Look, MySQL is awesome [flamewar incoming?]. But the ecosystem has stagnated. Why? No permissionless innovation. Postgres has flourished because people can change the core of the database (look at pgvector and pg_textsearch), without having to get their changes accepted upstream. (This, btw, is what powered GitHub's early success: you can fork a repo and make changes without needing the owners' approval) VillageSQL is a tracking fork of MySQL (open source, ofc) that adds an extension framework: * Drop-in replacement * Add custom data types and functions (with indexes coming soon) * we wrote example extensions (vsql-ai, -uuid, crypto, etc.) * you have a better idea for an extension * my CEO submitted a Show HN post but linked to the announcement blog; help me show him hackers want code first * I'm particularly proud of the friendly C++ API to add custom functions (in func_builder.h) That link again is https://github.com/villagesql/villagesql-server (Oh, and I get to work with the former TL of Google's BigTable and Colossus, so we care about doing databases Right) https://github.com/villagesql/villagesql-server

## GitHub projects

- https://github.com/villagesql/villagesql-server

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
