Why is it needed to enqueue parent stylesheet in child theme?

Not all themes enqueue the stylesheet like that. It was pretty normal a few years ago for a theme to just have the stylesheet link hard coded in header.php

So a child theme couldn’t guarantee that a parent theme had enqueued the stylesheet.

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