wp_insert post doesn’t work

Remove the date param or use the right format for the time stamp, like date('Y-m-d H:i:s'), But it is not necessary, WP use the current timestamp on the insert post time.

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