Tried for the last hour to figure out where the "error

Tried for the last hour to figure out where the "error establishing database connection" message is located on the server. Assuming its generated by mysql, I found this:
http://dev.mysql.com/doc/refman/5.5/en/error-message-language.html

However, the error message is definitely NOT located in the file they reference.

The big problem with trying to search for this is that there are gazillions of people seeking help with the actual error, so its like trying to find a needle in a haystack located in a nearby galaxy.

Any gurus know the answer to this stumper?