Relative Content

Tag Archive for mysql.net-coreentity-framework-core

EntityFrameworkCore+MySQL hangs when `Min Pool Size > 0` only on ubuntu/linux

I am currently using net8.0 (though I have also tested this on net6.0), along with the latest versions of EntityFrameworkCore and Pomelo.EntityFrameworkCore.MySql (I have also tested this with MySql.EntityFrameworkCore) and MySQL 8.0.35 (both on docker and installed on host machine). My connection string includes "Min Pool Size=10". The application runs smoothly on various windows platforms: Windows machine, an Ubuntu VM on Windows, a Docker Compose on a Windows machine, and even on Azure. However, when I attempt to run the same application on Ubuntu 22.04 machine, or a Docker Compose on an Ubuntu 22.04 machine, it hangs while trying to establish a connection to the database