MySQL database master-slave synchronization under Linux (LNMP)

This article is mainly a record, referring to the operation process of many technical articles on the Internet. I seem to have encountered some problems in using it myself, but in order to avoid forgetting it in the future, I decided to review this process. The article was operated in an environment where the Junge LNMP one-click package was installed on two American VPSs. MySQL Database master-slave synchronization has many advantages.

Subscribe to MySQL synchronization