DB connection failed
Anonymous
TRIALOP

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

Anonymous
TRIALOP

2 years ago

64042865-edb3-44db-a3e3-63e068bfcbc4


brody
EMPLOYEE

2 years ago

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


Anonymous
TRIALOP

2 years ago

After rebuild I have not found past logging data


Anonymous
TRIALOP

2 years ago

May be those logging data vanished after rebuild


Anonymous
TRIALOP

2 years ago

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


Anonymous
TRIALOP

2 years ago

what was the issue?


brody
EMPLOYEE

2 years ago

whats your current start script


Anonymous
TRIALOP

2 years ago

yarn start


brody
EMPLOYEE

2 years ago

right but what is the start script


Anonymous
TRIALOP

2 years ago

"start": "strapi start",


brody
EMPLOYEE

2 years ago

change it to sleep 3 && strapi start


brody
EMPLOYEE

2 years ago

also, what is your pool min set to?


Anonymous
TRIALOP

2 years ago

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


brody
EMPLOYEE

2 years ago

make sure the min is set to 0


Anonymous
TRIALOP

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


brody
EMPLOYEE

2 years ago

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


Anonymous
TRIALOP

2 years ago

Ok.Thanks for your time


brody
EMPLOYEE

2 years ago

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


Anonymous
TRIALOP

2 years ago

ok


Loading...