Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sessions table creation error on MariaDB #54

Closed
cappuccio opened this issue Aug 1, 2019 · 2 comments
Closed

Sessions table creation error on MariaDB #54

cappuccio opened this issue Aug 1, 2019 · 2 comments

Comments

@cappuccio
Copy link

cappuccio commented Aug 1, 2019

Hi, i tried to use this module to store my sessions, but I'm encountering an error when it tries to create a dedicated table to store the sessions:

Unhandled rejection Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json not null, 'expired' datetime not null)' at line 1

It is clearly due to the fact that the json format is only supported by MariaDB 10.2+.

@adarshmadrecha
Copy link

Related to #50

@gx0r
Copy link
Owner

gx0r commented Jun 4, 2024

I'd love to support this but I'm just one person, and the amount of differences among databases (even major versions of the same database) has become untenable to maintain.

I might just recommend copy pasting the code into your project and tailoring it to your use case as needed, as trying to support everything is too much for me.

@gx0r gx0r closed this as not planned Won't fix, can't repro, duplicate, stale Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants