Custom post type draft use wrong template

In some cases, the permalink structure must be updated in order for
the new template files to be accessed when viewing posts of a custom
post type. To do this, go to Administration Panels > Settings >
Permalinks, change the permalink structure to a different structure,
save the changes, and change it back to the desired structure.

from http://codex.wordpress.org/Post_Types#Custom_Post_Type_Templates

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