You can’t change the password directly in the db, it hashed ad salted.
What you can do is install wp-cli and call wp user update but that’s outside the scope of this forum. If you google it you will surely find a tutorial on how to do that.
Open your WP database in phpmyadmin.
left column, wp_users
Admin username, click Modify
Third line, user_pass
Right-side column, type your chosen pwd in plain text
middle column, dropdown, choose “MD5”
Execute