https://devkabir.com/troubleshooting-mysql-database-connections-in-powershell/
Here is your solution, check it now