How to integrate a form (Ninja Form or Contact Form 7) with Custom Post Types?

How to integrate a form (Ninja Form or Contact Form 7) with Custom Post Types?

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