// Go to the wp-config.php file in the WordPress root directory (your website name)
// Edit the file Or download the file
// Find :
/** Database password */
define( 'DB_PASSWORD', 'write your new password here' );
// Save and upload the file (if you download the file) - overwrite the old one