Koishi MySQL Database Plugin
JSON →MySQL database adapter for the Koishi chatbot framework (v3.6.2). Provides persistent storage for user data, sessions, and application state via MySQL/MariaDB. Updated on the same cadence as Koishi core (~monthly). Differentiators: native integration with Koishi's ORM-style query API, full TypeScript types, and zero-config setup within Koishi projects. Alternatives like direct mysql2 usage lack Koishi's plugin lifecycle management.
Resources
packagekoishi-plugin-mysql ↗
API endpoints
full doc /v1/registry/koishi-plugin-mysql