Question: error 1130 (hy000) host 'localhost' is not allowed to connect to this?
Answer: This is a typical firewall issues if you are using Windows OS particularly windows 7 or 8. Disabling your firewall from the Antivirus on your server (where your MySQL is installed) might not help. Follow this steps: Go to the control panel of your Server (wamp server PC)