How do I install myBB to work on the local host?
I have apache and xampp.
Just install the forum just like as if it was being installed on a web server. The MySQL user will always be root and you will need to define a password as well. You are not required to have a password, but it is good practice to have one set for the root account.