How do i bring out post category name in my widget?

Ok. That is a good observation. How should i make the adjustment then. Let me know what needs to be done about it to correct how to make it select category?

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