🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

@lucia-auth/adapter-mysql

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lucia-auth/adapter-mysql

MySQL adapter for Lucia

3.0.2
latest
Source
npm
Version published
Weekly downloads
659
-11.42%
Maintainers
1
Weekly downloads
 
Created
Source

@lucia-auth/adapter-mysql

MySQL adapter for Lucia.

Documentation

Lucia documentation

Changelog

Supported drivers

Installation

npm install @lucia-auth/adapter-postgresql
pnpm add @lucia-auth/adapter-postgresql
yarn add @lucia-auth/adapter-postgresql

Testing

Set MySQL database name and password in .env:

MYSQL2_DATABASE=""
MYSQL2_PASSWORD=""

mysql2

pnpm test.mysql2

@planetscale/database

Set up env var:

PLANETSCALE_HOST=""
PLANETSCALE_USERNAME=""
PLANETSCALE_PASSWORD=""

Run:

pnpm test.planetscale

Keywords

lucia

FAQs

Package last updated on 09 Mar 2024

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