Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Select database:

USE databaseName;


Find Admin User ID:

SELECT ID, user_login, user_pass FROM wp_users;


Update

...

from

...

User

...

ID


UPDATE wp_users SET user_pass = MD5('the_new_password') WHERE ID=1;

...