OK, I'm not sure what you're saying. That line is the one that connects to the database server, so if it's failing it means you're passing it the wrong values (and those values come from the config.php file), or else the server isn't running. The message seems to say it's a permission problem, but it also says it can't connect to the socket which I think would mean that it's not a problem with the mysql user/password or permissions.
|