Why cant you place the Loop outside of the index.php?

That’s because of the Template Hierarchy WordPress uses. The blog.php you’re trying to use isn’t part of the default templates WordPress uses.

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