How can I insert code into the pluggable.php file without it getting deleted after a wordpress update

How can I insert code into the pluggable.php file without it getting deleted after a wordpress update

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