WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@Deniskiplangat
Copy link

using the previous code i got this error

SqlError: (conn:-1, no: 45027, SQLState: HY000) Cannot add request to pool, pool is closed sql: SELECT * from demo.contacts
at Object.module.exports.createError (/home/camindo/Node/mariadbnodeconnection/node_modules/mariadb/lib/misc/errors.js:66:10)
at /home/camindo/Node/mariadbnodeconnection/node_modules/mariadb/lib/pool.js:538:24 {
sqlMessage: 'Cannot add request to pool, pool is closed',
sql: 'SELECT * from demo.contacts',
fatal: false,
errno: 45027,
sqlState: 'HY000',
code: 'ER_POOL_ALREADY_CLOSED'

using the previous code i got this error

SqlError: (conn:-1, no: 45027, SQLState: HY000) Cannot add request to pool, pool is closed
sql: SELECT * from demo.contacts
    at Object.module.exports.createError (/home/camindo/Node/mariadbnodeconnection/node_modules/mariadb/lib/misc/errors.js:66:10)
    at /home/camindo/Node/mariadbnodeconnection/node_modules/mariadb/lib/pool.js:538:24 {
  sqlMessage: 'Cannot add request to pool, pool is closed',
  sql: 'SELECT * from demo.contacts',
  fatal: false,
  errno: 45027,
  sqlState: 'HY000',
  code: 'ER_POOL_ALREADY_CLOSED'
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

Successfully merging this pull request may close these issues.

1 participant