Set a taxonomy as private

You should also set the query_var to false.
So your args array should be like this:

$args = array(
    'labels'            => $labels,
    'public'            => false,
    'query_var'         => false,
    'rewrite'           => false,
    'hierarchical'      => false,
);

Cheers

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