How to create

From PheonixSolutions
Revision as of 06:57, 10 August 2025 by 157.50.133.19 (talk) (Created page with "= How to Change WordPress user Password via MySQL on Ubuntu = = <a id="_q53zi5l73llx"></a>How to Change WordPress user Password via MySQL on Ubuntu = Step 1: log in ubuntu s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to Change WordPress user Password via MySQL on Ubuntu

<a id="_q53zi5l73llx"></a>How to Change WordPress user Password via MySQL on Ubuntu

Step 1: log in ubuntu server\.

Step 2: Check the WordPress database name in the wp\_config\.php file\.

Step 3: Go to MySQL with root \(or\) WordPress user and use the WordPress database\.

$mysql \-u username \-p

> show databases;


> use wordpress\_databasename;

Step 4: In WordPress database we view wp\_users under WordPress databases\.

> show tables;

Step5 : view that wp\_users table with below quary

> select \* from wp\_users;

Step 6: select one user from the wp\_users table and change the password with below quarry

UPDATE database\_name\.database\_table\_name SET database\_table\_column = MD5\( 'your\_new\_password' \) WHERE database\_table\_name\.database\_table\_column = "your\_admin\_username";

Example:

> UPDATE wordpress\.wp\_users SET user\_pass = MD5\( 'kPjIZIWLXs'\) WHERE wp\_users\.user\_login = "saritha";