How to sync staging to production but keep plugin settings

How to sync staging to production but keep plugin settings

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