Front end Submit not posting to Custom Post type

I think you may need to correct:

'post-type' => 'tpf_cnm',

and make it:

'post_type' => 'tpf_cnm',

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