How to continuously developing a WP site that is already deployed in production without damaging it during development

How to continuously developing a WP site that is already deployed in production without damaging it during development

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