If you want to directly update the WP admin password in the WP database:

1. Find the ID of the ADMIN USER in WP users table.

2. Say the WP table prefix is "wp_", then the WP users table name will be wp_users.

Say you want to update the password to mypass and say the admin Id in 1.

Run this update SQL to update the password of admin user.

UPDATE `wp_users` SET user_pass = MD5('mypass') WHERE ID = 1