get_the_category and echo out link to child-most/deepest category

Might get_category_parents() be helpful? It outputs a list of all hierarchical parents of the given category.

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