Unable to login in newly installed OpenEMR 5.0.2 on localhost

These are just the standard general logs
The logs above look fine

The other problem may be the issue with MySQL8. It may not have accepted your change to pass. It normally should not accept a 4 letter password I think.
Also, It is hard to get openemr to work with Mysql 8. At least it was for me. Check out other threads here. check the database logs. I don’t know how to check those. Those are in the tables themselves.