New folder and file permissions are not correct

Adding these two lines to the wp-config.php file solved the problem:

define('FS_CHMOD_FILE', 0644);
define('FS_CHMOD_DIR', 0755);

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