Clever selection of melon and eggplant has strong adaptability to soil, but practice has proved that all melon and eggplant planted in loose, fertile and slightly acidic soil grow well, with high yield and good quality. Therefore, it is advisable to choose a field close to the suburbs or with convenient transportation, abundant water, no pollution source, high terrain, flat land, ventilation and light transmission, convenient irrigation and drainage, high organic matter content, deep soil layer, loose and fertile soil, slightly acidic and suitable pH value of 6 ~ 7. Pay attention to avoid planting melon and eggplant in saline-alkali and strongly acidic soil. If it is really unavoidable, it is necessary to adjust its pH value with lime or gypsum. It should also be noted that it should be isolated from solanaceae crops such as pepper, eggplant, tomato, potato and tobacco for at least 3 years to avoid soil-borne diseases and reduce yield.
The root system of skillfully cultivated melon and eggplant is developed, mainly distributed in 25 cm soil layer. Therefore, the fields planted with melons and eggplant in spring should be deeply ploughed before winter, and the ploughing depth should be about 25 cm. Freeze-drying in winter can not only eliminate spores, egg lumps and pupae in the field, but also loosen the soil, enhance the soil's water storage and fertility, and improve soil fertility. Spring ploughing should be carried out before spring sowing, and the fields should be carefully leveled to preserve moisture. On this basis, dig trenches again. Ridges should be used in areas with much rain and high groundwater level in spring, and the distance between ridges is 70 ~ 80 cm, that is, the soil on both sides should be supported on the ridges to form high ridges; In areas with heavy rainfall and high groundwater level in spring, high ridges should be adopted, with ridge spacing of 1.5 ~ 1.6 m (including ridges and ditches of 30 ~ 40 cm) and trench depth of more than 20 cm. In areas with little rain in spring, low groundwater level and good drainage, flat border can be used, and the optimal border spacing is 1.5 ~ 1.6 m (including 30 cm of border ditch) and the ditch depth is about 15 cm.