For example: There are 1 database servers, and the maximum number of connections allowed is 300. But I have 1000 c/s structure of the client using a connection pool to access this database, if the connection pool set the minimum number of connections is 1, then the maximum number of connections has reached 300? What about 700 other clients?
Landlord, for example, will let you deepen your memory.
Connect the database like in the winter to bathe in the bathhouse, not on the half-way to the clothes stripped, to go into the bathhouse ready their own bath supplies and then go in to wash, wash out to immediately dry body put on clothes, otherwise easy to catch cold.
You want to open the connection before, all the SQL statements are ready, open after the execution, the completion of the close, otherwise equal to the naked run out of the bathhouse, to be an accident ah.
Database access exceeded maximum number of connections