A MySQL session store for connect, the Node.js middleware framework. Version 0.1.3 is the latest stable release. This package provides a straightforward way to persist session data in MySQL, leveraging the node-mysql driver. It is designed for older versions of Node.js (pre-0.6) and connect. Compared to more modern session stores like connect-mysql, this package is simple but lacks active maintenance and is incompatible with newer Node.js versions.
npm install connect-mysql-sessionNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up a connect app with MySQL-backed session store, creating database and table if not exist.
Migrate to a maintained session store like connect-mysql or express-mysql-session.
Use an alternative session store with current Node.js support.
Execute CREATE TABLE statement before using the store.
Run 'npm install connect-mysql-session' in your project directory.
Ensure you call mysql.createClient() and pass the client, not the mysql module.
Provide the store option: connect.session({ store: sessionStore, secret: '...' })