WordPress is already installed

You can see the username in the database and change the password easily. You do not need to reinstall wordpress.
If you need to reconfigure, there are several ways:

  1. Delete wp-config.php and htaccess files and re run install
  2. Delete the information in the database and reconfigure it

But if you want an easy way to find your username as well as change your password, you can do the following:
Just go to phpMyAdmin and find the ** wp_users ** table and click on it
You will now see the rows in your WordPress user table. Continue and click the edit button next to the username whose password you want to change.
Now delete the value in the user_pass field and replace it with your new password. Below the function column, select MD5 from the drop-down menu and then click the Go button at the bottom of the form.
Just as easily! You have successfully changed your WordPress password.