MySQL Cluster Solution (Original)

xiaoxiao2021-03-06  65

The so-called mysql cluster is there in parallel with multiple MySQL servers, and the data is stored under the same disk path ...

This can solve the bottleneck of the database concurrently accessed

For a single computer, we can start multiple MySQL services.

MySQL / MySQLD_SAFE --DATADIR = / usr / local / mysql / data --port = 3306 --PID-file = / tmp / 1.pid

Mysql / mysqld_safe --datadir = / usr / local / mysql / data --port = 3307 --PID-file = / tmp / 2.pid

.........

This starts multiple MySQL services, and their data exists / usr / local / mysql / data below .....

转载请注明原文地址:https://www.9cbs.com/read-89768.html

New Post(0)