How to only fetch certain Tag ID’s

get_tags function accepts include argument. You could pass by it ids of tags you want to get.

$tags = get_tags('order=ASC&orderby=name');

change to

$tags = get_tags('order=ASC&orderby=name&include=12,45,67');

12, 45 and 67 are ids of tags

get_tags on codex

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