The external initial stress state seriously affects the hydraulic fracturing process of rocks. However, the external initial stress effect on the mechanical relationship between the hydraulic pressure and the internal microcrack extension in brittle rocks is rarely studied. This paper proposes a micro-macro mechanical model for predicting the hydraulic fracturing process of brittle rock under compressive stress. Based on the correlation of the stress intensity factor at the tip of the extended micro-cracks, the hydraulic pressure, and the force characteristics of the cracks inside the brittle rock, the evolution law of the hydraulic pressure with the wing crack length is determined. The effects of confining pressure, axial pressure, stress difference, initial crack angle, initial crack length, initial crack density and rock fracture toughness on the hydraulic initiation stress and peak stress are discussed. The rationality of hydraulic fracturing models is verified by experimental comparison. With the increase of axial pressure, stress difference, fracture toughness, initial crack length and initial crack density, the hydraulic initiation and peak stress of rock decrease, and with the increase of confining pressure and fracture toughness, the hydraulic initiation stress and peak stress of rock increase. The study results optimize the parameters such as pre-crack angle, pre-crack length, and external loading conditions based on rock characteristics. It helps to grasp the progress of hydraulic fracturing according to the nature of rock and the degree of hydraulic pressure change, improve the efficiency of hydraulic fracturing, and enhance economic benefits.