What’s the difference with trash_comment and wp_trash_comment?

Where did you see trash_comment? It is no original WordPress core function, though. Maybe some part of a plugin/theme?

So in short: use wp_trash_comment – if you must.

There is, however, an action called trash_comment. Maybe this is what got you confused…?

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