@lucia-auth/adapter-mysql
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

@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

Package Sidebar

Install

npm i @lucia-auth/adapter-mysql

Weekly Downloads

1,743

Version

3.0.2

License

MIT

Unpacked Size

13.3 kB

Total Files

12

Last publish

Collaborators

  • pilcrowonpaper