database name woudl be whatever your database name is; as I don't know your setup I just put "database name" in there... You can get the name of the database that UBB is using out of your configuration file...
As you can see fromt he ines i posted, you'd have to replace "username" "password" and "databasename" with the appropraite information; hostname shouldn't have to be used though since it'll by default try localhost.