What are the correct permissions so WP doesn’t ask for FTP credentials if installing plugin?

You can set this in the wp-config.php, check the Editing wp-config.php page in the docs.

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