Mysql connector with loopback4 - too many connections

179 views
Skip to first unread message

Priyadharshini G

unread,
Mar 11, 2022, 8:48:35 AM3/11/22
to LoopbackJS
Hello All,
I am using loopback with mysql connector and have specified connectionlimit as 3 in my config. But i get the below error

{"code":"ER_CON_COUNT_ERROR","errno":1040,"fatal":true,"sqlMessage":"Too many connections","sqlState":"08004"},"exception":true,"level":"error","message":"uncaughtException: ER_CON_COUNT_ERROR: Too many connections\nError: ER_CON_COUNT_ERROR: Too many connections\n  

What should i be adding or modifying for this to use the connection pool? Any help is greatly appreciated

Thanks,
Priya
Reply all
Reply to author
Forward
0 new messages