Not saving custom taxonomy while using ajax

You have passed incorrect name($_POST key) in the function. Please use below code for saving the taxonomy:

wp_set_post_terms($post_id,array($_POST['cat_servicios']),'categorias_servicios',true);

You passed cat-servicios instead of cat_servicios

Thanks.

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