Permissions Issue with WordPress

I removed the sticky permission with using the – instead of the + and the website works.

sudo chmod -R g-s

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