When adding cal mag to ro water you are only replacing what was removed in the ro process 5ml is way too much in any case, you only need ~100-150ppm added to the water and that's ONLY if you are using the water alone. If you are using a complete formula like dyna gro all that is already included in the formula.
Additional magnesium isn't required either.