I got the following error messages when I try to run the "testmysql" file:
Warning: mysql_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\wamp\www\testmysql.php on line 2 Could not connect to MySQL: php_network_getaddresses: getaddrinfo failed: No such host is known.
I haven't changed any of MySQL settings. I also have all the services on, and my WAMP server icon is in green.