What hook is used to display the admin_bar on the front end?

I believe you are talking about the admin_bar which has many hooks.
You can read more about

in codex and actually wp source.

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