Home > php教程 > php手册 > PHP实现的MySQL读写分离

PHP实现的MySQL读写分离

WBOY
Release: 2016-06-13 11:03:19
Original
964 people have browsed it

php100编辑推荐《

希望给有需要的朋友带来帮助。

PHP实现的Mysql读写分离

主要特性

1.简单的读写分离

2.一个主数据库,可以添加更多的只读数据库

3.读写分离但不用担心某些特性不支持

4.缺点:同时连接两个数据库

英文比较烂,也写几个字吧

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代码


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template