get_comments with post_status ‘public’ retrieves NULL result

Try 'post_status' => 'publish', that should do the trick.

See https://developer.wordpress.org/reference/functions/get_post_statuses/ for more details.

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