For the user in mysql you should have a tool to add users to the database. Such as cpanel etc.
Check to see if the assigned user for ubb has write/read bla bla access .
Sometimes you get a all option or partial rights.
I will step away now since Scott is already involved.