Hook into create_category

You could use the get_term_by() function: http://codex.wordpress.org/Function_Reference/get_term_by

// get the category object
$category = get_term_by( 'id', $category_id, 'category');

// use the object to get your values
$name = $category->name;
$slug = $category->slug;

Does this help?

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