We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It looks like SQL connections are kept open when using a dbi-store for session data storage. This might be related to #98, maybe?
dbi-store
Steps to reproduce:
Using session
README.markdown
sessions
CL-USER> (datafly.db:connect-toplevel :mysql :database-name "test" :username "root" :password "bleh") #<DBD.MYSQL:<DBD-MYSQL-CONNECTION> {1004C22513}> CL-USER> (datafly.db:execute (sxql:create-table :sessions ((id :type '(:int 20) :primary-key t :unique t) (session_data :type '(:varchar 2048) :not-null nil :default nil)))) ; No value CL-USER> (datafly.db:disconnect-toplevel) NIL
After that, every following request is met with:
MySQL error: "Too many connections" (errno = 1040). [Condition of type COM.HACKINGHAT.CL-MYSQL-SYSTEM:MYSQL-ERROR]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It looks like SQL connections are kept open when using a
dbi-store
for session data storage. This might be related to #98, maybe?Steps to reproduce:
Using session
section ofREADME.markdown
.sessions
table in your DB. Otherwise you'll get an error about it. This worked for me:After that, every following request is met with:
The text was updated successfully, but these errors were encountered: