1. What is multi-instance mysql
A machine to open multiple ports, mysql server to run multiple processes, these services through different processes of different listening socket port services provide their services, but they share a mysql installation program, using different my.cnf configuration file, start programs, data files. Multi-instance is logically independent.
2. The multi-instance issues and the role of
Efficient use of server resources (servers occupy more than 60%), saving server resources, but a service instance concurrent high or when there is a slow query, the overall decline in the quality of service provided
3. scenarios
1) Quality did not want to drop, but funding constraints, such as three servers can be deployed instance 6-9
2) Concurrent is not a big business
3) portal application mysql example scenarios and more
4. A multi-instance configuration scheme
1) a plurality of profiles and a plurality of initiator 2) a single configuration: my.cnf (high coupling)
5. Install multiple instances MySQL
1) dependencies
yum install ncurses-devek -y
yum install libaio-devel -y