How can I use connection pooling in perl using MySQL? -


this question has answer here:

we have perl application using dbi connect mysql , execute sql statements. creates multi connections, want handle using connection pooling , have no idea connection pooling.

how do this?

if there multiple connections same database same dsn inside 1 process, can replace calls dbi->connect dbi->connect_cached , the dbi take care of reusing connections. that's not pooling, should work.


Comments

Popular posts from this blog

Combining PHP Registration and Login into one class with multiple functions in one PHP file -

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -