Open kenkenken123 opened 1 year ago
You haven't provided enough context. Are you doing a migration, or querying or updating the db? Is there an inner exception?
inner exception is “Connect Timeout expired.” i use contextpool ,i guess the pool is full??
I suspect that you have a networking issue between your docker instance and the MySQL server.
I would suggest asking a question on Stack Overflow with your configuration for further help.
The issue
This error occurs in the interval of some requests. What can I do to solve it?
Further technical details
MySQL version: 5.7 Operating system: docker---mcr.microsoft.com/dotnet/aspnet:6.0 Pomelo.EntityFrameworkCore.MySql version: 6.0.2 Microsoft.AspNetCore.App version: 6