berikut adalah catatan solusi jika lupa password admin wordpress
cara ini melalui db mysql, pastikan dulu sudah bisa akses ke db mysql dengan db wordpress dan password username yg benar kemudian jalankan perintah berikut:
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| wordpress |
+--------------------+
2 rows in set (0.00 sec)
mysql> use wordpress;
Database changed
mysql> SELECT ID, user_login, user_pass FROM wp_users;
+----+------------+------------------------------------+
| ID | user_login | user_pass |
+----+------------+------------------------------------+
| 1 | nasohi | $**********&&&&* |
+----+------------+------------------------------------+
1 row in set (0.00 sec)
Contoh dibawah akan mengubah password menjadi this1SPassw0rD
mysql> UPDATE wp_users SET user_pass = MD5('this1SPassw0rD') WHERE ID=1 LIMIT 1;
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
mysql> exit
Oke done
Comments
Post a Comment