How to reset MODX admin password over MySQL cli
You need to run the following query inside your MySQL cli
UPDATE modx_users SET hash_class = 'hashing.modMD5', password = MD5('3f8c369a185a95cfd198e5e') WHERE username = 'admin';
Note, update mysql table prefix, password, username to yours.
Source: https://docs.modx.com/3.x/en/building-sites/client-proofing/security/troubleshooting-security/resetting-a-user-password-manually… Read the rest