how to edit open graph meta description programmatically and in which file

They’re probably somewhere in the header.php file, or wherever the HTML <head> section is. Look for

<meta property="og:description" content="Something something" />

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