mysql ODBC "cant connect" after working normally

Hello Experts,
I have a win 10 virtual machine with a MYSQL database installed.
on my physical machine, I have an application that uses the Mysql in the virtual.

All was working just fine  for months
then after restarting my physical machine, I cant connect to the database

the ODBC drivers say " can't connect " and I can't find why

Both machines (virtual and physical) are on
both have internet
using  port 3306

Please your advice.
RGuillermoProject ManagerAsked:
Who is Participating?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
What is the Hypervisor?

Has networking changed?

Can you ping the VM from host and vice versus?
David SankovskySenior SysAdminCommented:
It is possible that the MYSQL service is down.
I've noticed that on some versions, when mysql is installed on Windows, the service startup isn't automatic.
RGuillermoProject ManagerAuthor Commented:
yes I can Ping both ways
Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

RGuillermoProject ManagerAuthor Commented:
I found by chance the windows firewall and protection.
Turned it off and all communication with mysql database was restored.
Thank you
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Argh the dreaded firewall!
RGuillermoProject ManagerAuthor Commented:
thanks to all experts!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.