There's two think that drop off the top of my head.
A. Is the ports open on the webhost? Some webhosts have a tenancy to have all the ports blocked for security purposes which is fine but you need to contact them and ask them to unblock srcds ports.
B. If MySQL is setup on the machine itself then use "localhost" in the config instead or "127.0.0.1".