Home Website TutorialsWordPress Reset WordPress Admin Password with phpMyAdmin

Reset WordPress Admin Password with phpMyAdmin

by Thạch Phạm

In some cases, you accidentally forget the password to log in to the WordPress website admin for some reason, and there are many ways for you to retrieve this password such as by email, functions file…

Có thể bạn sẽ thích

And in today’s article, AZDIGI will guide you to reset WordPress admin password using phpMyAdmin.

Step 1: Access to phpMyAdmin with the previously created database user/password information

If you forget your database password, you can go directly to the wp-config.php file to view it and the file will have the following format.

define( 'DB_NAME', 'azdigi_dotrungquan' );
define( 'DB_USER', 'azdigi_dotrungquan' );
define( 'DB_PASSWORD', 'S-85768_)(B8vp(6Q' );

Step 2: Select the user to reset password

After accessing phpMyAdmin, you will see the interface as below, select the database corresponding to the website and select the wp_user table => select the user to reset. I have numbered in the order 1 – 2 – 3 for you to follow the steps.

The screen will show all existing users on your website, you choose 1 user to change password => select Edit .

Enter the new password information in the columnuser_pass, choose data type as MD5 .

Above is the interface to edit the user information I have numbered in the order you follow:

  • 1: Your username
  • 2: Select the MD5 encryption type (to change the password, you need to select MD5)
  • 3: Enter the password you need to change
  • 4: Admin email of that user (you can change this information)
  • 5: After the change is complete, click Done to save

Just with the above operations, you can change that user’s password.

Đánh giá

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign