Temperature dependence of viscosity of title glasses (x=0, 2, 4, 6, 8, 10, abbreviated as M0, M2, M4, M6, M8, and M10, respectively) was measured by rotational viscometry (high temperature region: 102−106.5 dPas) and thermomechanical analysis (low temperature region: 108.5−1011.5 dPas) and described by the Vogel-Fulcher-Tammann equation. The MgO/CaO equimolar substitution (i.e. the increasing x value) smoothly shifts the high temperature viscosity to higher values. In the low temperature region the mixed alkali effect is demonstrated, and the highest viscosities are observed for the glasses M0 and M10. In the low temperature range the activation energy of viscous flow linearly decreases with the increasing x value (Eact/kJ mol−1=479−9.0x). No significant dependence of activation energy on x was found in the high temperature range (Eact/kJ mol−1=238.1±4.2). The structural relaxation was measured by thermomechanical experiment and theoretically interpreted in the frame of Tool-Narayanaswamy-Mazurin’s model. The broadening of the relaxation time spectrum was observed for the calcium-magnesium glasses in comparison with the pure calcium or magnesium glasses.