Closed kalio753 closed 1 year ago
Change this:
const sessionStore = new MySQLStore(options, mysql.createPool(options))
To:
const sessionStore = new MySQLStore(options);
And be sure to use a randomly generated value for your session secret:
secret: "your_secret_key"
I am trying to connect to use the library but I got this error:
This is my code: