How to get a list of child ids for a named category?

Try this:

get_terms( 'category', "child_of=$parent&fields=ids" );
// should return an array containing the ID's of children of term $parent

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