Login   Register  
PHP Classes
elePHPant
Icontem

Simple MySQL wrapper replicator: Access multiple MySQL servers

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 457 All time: 5,548 This week: 1,767Up
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
Name: Pashkov Denis Igorevich <contact>
Classes: 21 packages by
Country: Ukraine Ukraine
Age: 24
All time rank: 3189 in Ukraine Ukraine
Week rank: 191 Up7 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:457All time:5,548
 This week:0This week:1,767Up