Custom post type’s permalink adds the name of the post type before the post name

Custom post type’s permalink adds the name of the post type before the post name

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