The invention provides a
coating composition which comprises the following components in parts by
mass: 5-25 parts of MQ resin, 5-20 parts of
silicone oil, 1-10 parts of
fumed silica, 0.08-0.2 part of a
corrosion inhibitor and 50-70 parts of an
organic solvent, the
viscosity of the
silicone oil at 25 DEG C is 3000-100000 cst, the
mass ratio of the
silicone oil to the MQ resin is 1: 3-3: 1, the number-average molecular weight of the MQ resin is 2800-6000, and the number-average molecular weight of the MQ resin is 2800-6000. The
corrosion inhibitor is an
azole compound connected with a first functional group and a second functional group, the first functional group is a
benzene ring, the first functional group and the
azole compound are fused or bonded through a
single bond, the second functional group is a sulfydryl group, the second functional group and the
azole compound are bonded through a
single bond, and when the azole compound contains two non-carbon heteroatoms, the heteroatoms are different in type. The invention further provides application of the
corrosion inhibitor and the
coating composition. The
coating formed by the coating composition is beneficial to improvement of alkali resistance, and in addition, the
corrosion inhibitor is introduced into a
silicon resin
system for use, so that the
corrosion inhibitor can be applied to improvement of alkali resistance of electronic products, and the use applicability of the
corrosion inhibitor is further improved.