I am getting this error on two of my websites. About 20 or so work just fine. I've checked the username and passwords in the config files as well as in the database. Anything else that could be causing it?
Does Code: grep mysql /var/log/syslog reveal any errors? Is this a physical server or a virtual machine?