Code:
"database" "coopstats_timtom"
"user" "jimmy_timtom"
"pass" "jimmypw"
Should be correct.
Are you giving the IP address needed permission to access the database?
Look in your SourceMod error logs. If it shows an IP address in there trying to connect to the database, but can't, try adding that to the Access Hosts.
I had everything correct in mine, but just couldn't find the right IP address until I looked in the error logs.