$wpdb->update does not update, var_dump of data is correct

When the following variable is empty,

$media_org_id = '';

it results in an empty record_id.

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