Posts

Showing posts from July, 2012

SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.

The following may help: - Is MySQL running? - Have you entered the correct hostname and port number for your MySQL server (typically it might be localhost:3306 or 127.0.0.1:3306) Check the correct hostname and port to use. - Check your firewall on the server, is it blocking MySQL's port? Are you installing your site locally on your computer or hosting it somewhere?