well if you are dong a fresh install then you should follow the docs at:
https://www.ubbcentral.com/doc_install.phpAnd not rely on the installer to warn you about permissions.
I think you are doing this the hard way.
BTW,
I now see a generic database error.
Which usually means that the database path,user name and or password is not correct.