reset user password in moodle

Open mysql: 

mysql -u root -p

choose your database:

use moodle; [whatever the moodle instance is called]

Now change the password:

update mdl_user set password=MD5('password') where username='admin'; 

exit;

Popular posts from this blog

could not find course/ could not find top level course/ could not find course category

migrating moodle from one server to another

installing moosh to make your life easier