You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [Use an existing MySQL connection or pool](#use-an-existing-mysql-connection-or-pool)
12
13
* [Closing the session store](#closing-the-session-store)
@@ -38,6 +39,11 @@ Potential gotchas and other important information goes here.
38
39
This module creates a database table to save session data. This data is stored in a MySQL text field with the [utf8mb4](https://dev.mysql.com/doc/refman/5.5/en/charset-unicode-utf8mb4.html) collation - added in [MySQL 5.5.3](https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-3.html). The reason for this is to fully support the utf8 character set. If you absolutely must use an older version of MySQL, create your sessions table before initializing the `MySQLStore`.
39
40
40
41
42
+
### MariaDB Compatibility
43
+
44
+
This module will work with MariaDB, but you must follow the usage examples in this readme found [here](#usage) and [here](#use-an-existing-mysql-connection-or-pool). The [mariadb module](https://github.com/mariadb-corporation/mariadb-connector-nodejs) is __not__ supported - please use the [mysql2 module](https://github.com/sidorares/node-mysql2) instead to create a connection or pool to your MariaDB instance.
45
+
46
+
41
47
## Usage
42
48
43
49
Use with your express session middleware, like this:
0 commit comments