Skip to content

I had to change select.js code so that it works without error #2

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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'
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant