Skip to content

mariadb-corporation/mariadb-dev

v26.10.3GPL-2.0

MariaDB skills and the native mariadb-shell MCP server for Hermes Agent.

mariadb-create-index

MariaDB-specific syntax and behavior for CREATE INDEX / DROP INDEX — that it maps to ALTER TABLE (batch multiple adds), can't create a PRIMARY KEY, needs a prefix length on TEXT/BLOB columns, has no expression/functional indexes (index a generated column instead), real descending indexes (since 10.8), IGNORED indexes for safe optimizer testing, UNIQUE/FULLTEXT/SPATIAL/VECTOR kinds, USING BTREE/HASH/RTREE, CREATE OR REPLACE / IF NOT EXISTS, KEY_BLOCK_SIZE being ignored here, and dropping a PRIMARY KEY via DROP INDEX PRIMARY. Use when writing, generating, or reviewing CREATE INDEX / DROP INDEX statements that target MariaDB.

Read SKILL.md at the source

Pinned to revision 2206a90dc255, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.