How do I get the url slug inside the dashboard for a custom post type?

You can retrieve the permalink using get_permalink()

To retrieve the edit link for a post, use: get_edit_post_link()

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