I'm using phpMyAdmin as a part of XAMPP. When I'm prompted with the login screen, I'm able to enter a non-root user account into the Username textfield, leave the Password textfield empty, and be able to login to the account. This is despite the fact that this user account does have a password attached to it. Even stranger, when I do provide the correct password for the user account, I'm given the following two errors and am unable to login:
#1045 - Access denied for user 'usernamehere'@'localhost' (using password: YES)
mysqli_real_connect(): (HY000/1045): Access denied for user 'usernamehere'@'localhost' (using password: YES)
These same errors are also present when I attempt to login using a non-root user account through mysqli_connect() in a php file (whether I provide the password or not).