How to reset joomla password if you have root access to server

Here is the simplest way to reset your joomla (3.x/4.x) password, if you have root access to the server (and database access): Log into your joomla server as root. Run the following command on the server: php -r "echo password_hash('my__new__password321', PASSWORD_BCRYPT) . PHP_EOL;" $2y$10$Vpi.NZOi95DB5vcxtbscNe06pK8nOm1xf1w/Qdtkuu.WfJohiDR/u Log into mysql (probably with the following command,…