PHP Classes

Simple MySQL wrapper replicator: Access multiple MySQL servers

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Star 10%Total: 463 All time: 6,061 This week: 455Up
Version License PHP version Categories
mysql-replicator 1.0Artistic License3.0Databases


This class can be used to access multiple MySQL servers.

It can attempt to connect to MySQL database servers from a list and executes a given SQL query.

If it fails the class repeats the process trying to access another server from the list until it succeeds or the list ends.

Innovation Award
PHP Programming Innovation award nominee
June 2010
Number 5

Prize: One downloadable e-book of choice by O'Reilly
Database intensive applications often need to resort to clusters in order to handle a large volume of database accesses.

If one database cluster node is too busy to respond, it may not be possible to execute database queries with that node.

This class provides a simple solution to access a MySQL database cluster by falling back to another server in the cluster if the connection or the query fails.

Manuel Lemos
Picture of Pashkov Denis Igorevich
  Performance   Level  
Name: Pashkov Denis Igorevich <contact>
Classes: 21 packages by
Country: Ukraine Ukraine
Age: 34
All time rank: 3068 in Ukraine Ukraine
Week rank: 298 Up6 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file mysql Class mysql wrapper replicant
Plain text file sample.php Output exxample

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,061
This week:455Up
 User Ratings  
 All time