PHP Classes

Simple MySQL wrapper replicator: Access multiple MySQL servers

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-05-17 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 458 All time: 5,686 This week: 1,069Up
Version License PHP version Categories  
mysql-replicator 1.0Artistic License3.0Databases
Description Author  

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: 25
All time rank: 3159 in Ukraine Ukraine
Week rank: 277 Up8 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  
 0%Total:458All time:5,686
 This week:0This week:1,069Up