MAM policy and mysql addition