I program a small web site for my Golf Club www.vetsgolfvic.org.au
For years I have used VS.PHP 3.8 to write and test the PHP code on my home computer and have used WAMP and Notepad++ on a laptop in order to interact with a MySQL database.
Not following some Windows 10 updates I'm getting the above error message and despite several searches and attempts to modify the behaviour of Windows Firewall (which seems to be the vaguely understood cause of this problem) I cannot find away around this dilemma.
Well considering no one can answer this, I will finish it.....
Go to your database management console. Open up the security settings on the db. Give the web service that is running the web application on your web server permissions to connect login and read the db.