WordPress unresponsive after calling wp_update_comment()

wp_update_comment triggers the edit_comment action (source), you’re creating an infinite loop.

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