Custom taxonomy archive template not recognised

I just found out what I was doing wrong. Apparently you have to place archive pages in the root folder of your theme.
I placed them in a subfolder called templates. This works for page templates with a template name, but not for taxonomy.php, archive.php, single.php etc.

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