PHP Classes

Simple MySQL wrapper replicator: Access multiple MySQL servers

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Star 10%Total: 463 All time: 6,063 This week: 455Up
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: 34
All time rank: 3068 in Ukraine Ukraine
Week rank: 170 Up3 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:463
This week:0
All time:6,063
This week:455Up
 User Ratings  
 
 All time
Utility:16%Star
Consistency:16%Star
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:10%Star
Rank:4512