posts_nav_link(); picks up index.php instead of category.php as template

posts_nav_link(); picks up index.php instead of category.php as template

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