MySQL read/write splitting implemented by PHP. Php100 editor recommends "hope to help friends in need. Mysql read/write splitting implemented by PHP: 1. simple read/write splitting 2. a primary database can be added with more
Php100 recommended 《
Hope to help friends in need.
Mysql read/write splitting implemented by PHP
Main features:
1. simple read/write splitting
2. you can add more read-only databases to a primary database.
3. read/write splitting, but do not worry about unsupported features
4. Disadvantages: connecting two databases at the same time
Poor english. just write a few words.
Php code for mysql read/write split
Feature:
Simply rw split
One master, can add more slaves
Support all mysql feature
Link to the master and slave at the same time
PHP code:
Hope to help friends in need. Main features of Mysql read/write separation implemented by PHP: 1. simple read/write separation 2. a primary database can be added with more...