Adding a variable to a meta field in the backend?

Create a function and execute wp_query for retailer posttype and get all data of retailers and then using foreach loop of that retailers use this: update_post_meta($post_id, ‘your_field_name’, ‘YOUR_NEW_VALUE’);

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)