How to hide a woocommerce setting tab from admin & shop manager?

If you want to hide for specific users, just change the if statement. eg

if( in_array( $user->ID, [LIST_OF_USER_IDS] ) ) {
    ...
}

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