Sounds like a networking problem. It seems as though the query is getting through but the response back is being blocked for some reason (perhaps to do with firewall idk). Are you establishing a connection to the database locally (via 127.0.0.1 or localhost) or are you trying to connect via the server box's ip (or db server's ip)? Not sure how you have it setup but I would make sure your firewall isn't blocking it. Also make sure you don't accidentally open the db up to the public if it isn't needed.