How to change a wordress plugin php code in my child’s functions.php file?

How to change a wordress plugin php code in my child’s functions.php file?

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