The MySQL database you are attempting to connect to, may not allow remote connections. Make sure the user you are attempting to connect as, has a host entry for your host. Or just use a wildcard if you are not worried about security,
__________________
I rarely give code examples.
No, I have never used IIS or Windows of any kind as a web server. Get a real OS!
Please don't PM me, I won't respond.
|