it means there is something wrong with your SQL, either your username/password for the database is wrong, or your database is not set up/ not located @ localhost
Could also be a firewall issue if the web server and data server are on different domains, or if the data server is only set up to accept requests from localhost. If the web server is running on the same machine as the data server, then it is more likely a user login/password/permissions issue.