Yes, if you have access to the mysql tables you can reset your passoword, but the password is hashed, so you cannot just type in a new plain text password.
Security and privacy
Moodle -Admin Password reset
This discussion has been locked so you can no longer reply to it.