Deploying the MySQL Database
Perform the following steps to install and initialize the MySQL database on three Kunpeng servers.
- Install the database.
- Initialize the database.
For details about how to initialize MySQL, see Configuring the Installation Environment and Running MySQL in the MySQL Installation Guide.
- The user names and passwords in the documents are for reference only. Replace them based on your requirements.
- Add the /data/mysql/relaylog/ directory in addition to the directories mentioned in "Creating a Data Directory" in the documents.
Parent topic: Primary/Secondary Replication Deployment Guide