
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@mastra/mysql
Advanced tools
Affected versions:
MySQL storage implementation for Mastra, providing persistent storage for threads, messages, workflows, traces, and more with connection pooling and transaction support.
npm install @mastra/mysql
Configure the database credentials required by your provider.
import { Mastra } from '@mastra/core';
import { MySQLStore } from '@mastra/mysql';
export const mastra = new Mastra({
storage: new MySQLStore({
connectionString: 'mysql://user:password@localhost:3306/mastra',
}),
});
This README is the package guide. MySQLStore provides Mastra's storage domains through a MySQL connection pool, including agents, messages, workflows, observability, scores, datasets, prompt blocks, MCP records, and workspaces.
See the package changelog for version history and release notes.
We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.
FAQs
MySQL provider for Mastra - db storage capabilities
The npm package @mastra/mysql receives a total of 1,633 weekly downloads. As such, @mastra/mysql popularity was classified as popular.
We found that @mastra/mysql demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.