mysqli:real_connect() (hy00/2002 error code example
Example: mysqli::real_connect(): (hy000/2002): connection refused
If MySQL Server is up and running - then this looks like some transport (e.g. firewall) problem. First step is to try telnet command below - if it shows an error, then problem is not related to PHP or MySQL :
telnet 66.96.147.118 3306
(On success it will print mysql version + some random characters)