CPT custom archive template does not get loaded

Set has_archive to false in your arguments when registering your post type, flush your permalinks and you should be goog to go.

EDIT

has_archive

(boolean or string) (optional) Enables post type archives. Will use $post_type as archive slug by default.

Default: false

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