How to specify user ID for a CPT wp_insert_post when there’s no actual user (it’s programmatic)

How to specify user ID for a CPT wp_insert_post when there’s no actual user (it’s programmatic)

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