🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@useatlas/mysql

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@useatlas/mysql

Atlas MySQL datasource plugin

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

@useatlas/mysql

MySQL datasource plugin using mysql2 pool adapter.

Install

bun add @useatlas/mysql mysql2

Usage

import { defineConfig } from "@atlas/api/lib/config";
import { mysqlPlugin } from "@useatlas/mysql";

export default defineConfig({
  plugins: [mysqlPlugin({ url: "mysql://user:pass@localhost:3306/mydb" })],
});

Config

FieldTypeDefaultDescription
urlstringMySQL URL (mysql:// or mysql2://)
poolSizenumber?10Maximum pool connections (max 500)
idleTimeoutMsnumber?30000Idle connection timeout in ms

Reference

  • Plugin SDK docs
  • Authoring guide

Keywords

atlas

FAQs

Package last updated on 10 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts