DB connection failed
drataullah
HOBBYOP

2 years ago

Strapi Application crashed and seem to having issue during database connection , Manual restart Works , auto retrying Failed to connect database

19 Replies

drataullah
HOBBYOP

2 years ago

64042865-edb3-44db-a3e3-63e068bfcbc4


2 years ago

please add a 3 second sleep to the beginning of your start script


drataullah
HOBBYOP

2 years ago

After rebuild I have not found past logging data


drataullah
HOBBYOP

2 years ago

May be those logging data vanished after rebuild


drataullah
HOBBYOP

2 years ago

how to do that, could you hlp me regarding that?


drataullah
HOBBYOP

2 years ago

what was the issue?


2 years ago

whats your current start script


drataullah
HOBBYOP

2 years ago

yarn start


2 years ago

right but what is the start script


drataullah
HOBBYOP

2 years ago

"start": "strapi start",


2 years ago

change it to sleep 3 && strapi start


2 years ago

also, what is your pool min set to?


drataullah
HOBBYOP

2 years ago

min: 2, max: 10 can I get the pool value?


2 years ago

make sure the min is set to 0


drataullah
HOBBYOP

2 years ago

ok , could you clarify how this config changes or solve the problem , and what was happening now with min 2, just for learning purpose


2 years ago

for more information on that please refer to the caution banner found in strapi's docs


drataullah
HOBBYOP

2 years ago

Ok.Thanks for your time


2 years ago

no problem, make these two changes and test the waters, then let me know if you still see issues


drataullah
HOBBYOP

2 years ago

ok


Loading...