Displaying comments with a walker: how to distinguish between parent and child comments

Just use the $depth arg:

if ( $depth ) {
  // it's a child comment
} else {
  // it's a parent comment
}

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