You’ll first need to create a database, which you can do by visiting the /phpmyadmin/ on your localhost, typing in the database name and pressing ‘Create’.
Now go to /wordpress/, click the buttons and fill out the form. Type in ‘root’ for the database username and leave the password blank. Select any password you want for the administrator account. You can now log in with this administrator password and log into the WordPress dashboard.