Giter VIP home page Giter VIP logo

Comments (5)

raymondfeng avatar raymondfeng commented on August 16, 2024

The connector already uses connection pooling. See https://github.com/strongloop/loopback-connector-mysql/blob/master/lib/mysql.js#L69

from loopback-connector-mysql.

stringbeans avatar stringbeans commented on August 16, 2024

Thanks Raymond for the quick response!

from loopback-connector-mysql.

alcmontejo avatar alcmontejo commented on August 16, 2024

connection pooling for db2? Im having issue with buld insert.

from loopback-connector-mysql.

alcmontejo avatar alcmontejo commented on August 16, 2024

exceptions:

errors: [],
error: '[node-odbc] SQL_ERROR',
message: '[IBM][CLI Driver] SQL0438N Application raised error or warning with diagnostic text: "Exceeded maximum limit of 5 connections. Connection refused". SQLSTATE=42502\n',
state: '42502' }
error creating Model { Error: [IBM][CLI Driver] SQL0438N Application raised error or warning with diagnostic text: "Exceeded maximum limit of 5 connections. Connection refused". SQLSTATE=42502

from loopback-connector-mysql.

malek0512 avatar malek0512 commented on August 16, 2024

@alcmontejo you can try to change the "maxPoolSize" parameter to 1 in your vcap.json file.
See loopback-db2-documentation

from loopback-connector-mysql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.