MySQL Server is running on Dreamhost VPS and i am able to make connection with it through my Dev machine (Windows) and when i connect with with MySQL Server from my CentOS7 VM than i get following error:
PHP message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '*******'
I have configured my MySQL Server to accept connection from all hosts (%) Not sure why i am able to connect through my Dev machine and not from CentOS 7 VM running on my Dev machine, I have not installed MySQL on my CentOS VM (Minimal) only PHP + nginx are installed.
Thanks -Shahram