Basically, this error boils down to just what it states, "access denied". It could be something as simple as a typo in the username/password either in the threads config file, or when setting up the permissions. That error comes directly from MySQL, so it's basially saying that the ubbthreads user cannot access the database in question, using the supplied password.