How to Create Single template for custom post

You can also use (page) templates for custom post types, see this link.

Just add this to you template file:

Template Post Type: your-post-type

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