> ## Documentation Index
> Fetch the complete documentation index at: https://kb.mochahost.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Moodle Admin Password Reset via PhpMyAdmin (Cpanel)

1. Log into your cPanel account. 

![](https://tutorials.my-virtual-panel.com/articles/aFDnWsA.png)

2. Click on the **phpMyAdmin** menu.

![](https://tutorials.my-virtual-panel.com/articles/oIJBri0.png)

3. Inside phpMyAdmin find the correct **database name** and click on it.

![](https://tutorials.my-virtual-panel.com/articles/2HkgHcl.gif)

4. Find the table called **mdl\\\_user** and select it. Since Moodle has many tables, the mdl\\\_user table may be on the second page. Select the second page.

![](https://tutorials.my-virtual-panel.com/articles/rRtn4VX.gif)

5. After selecting the table, find the table **row for the user** that is being edited. Click the **Edit** link with the pencil icon. 

![](https://tutorials.my-virtual-panel.com/articles/IT6gwi2.gif)

6. There will be a series or characters and numbers in the password field. This is an encrypted password so it cannot be viewed in the database. R**eplace the encrypted text with the new password** for the login. Next, in the drop down menu to the left, **select MD5 then click Go**. 

![](https://tutorials.my-virtual-panel.com/articles/EyEj4rH.gif)
