PHP Classes

Classes of Mihails Atamanskis

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Mihails Atamanskis (1)  >  Mission progress status  >  Reputation  
Picture of Mihails Atamanskis
Name: Mihails Atamanskis <contact>
Classes: 1
Country: Latvia Latvia
Age: 40
All time rank: 354010 in Latvia Latvia
Week rank: 215 Up3 in Latvia Latvia Up
All time users: 404
Week users: 0
Innovation award
Innovation award
Nominee: 1x
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image PHP MySQL Cluster Connection  
PHP Programming Innovation award nominee
February 2016
Number 9


Prize: SourceGuarding PHP encoder tool
Access MySQL clusters using separate connections
This class can access MySQL clusters using separate connections.

It takes an array with parameters to connect to different servers of a MySQL cluster with the distinction of being for read or write query servers.

The class checks the type of query being executed and route them to a read server if it is of the SELECT type or to a write server to INSERT, UPDATE and DELETE queries.

The class can also reconect to another MySQL available server if the current server that it attempted to access is down.

If any errors happen, the class sends an email message to an address configured for the respective cluster server.
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 100% 95% - 100% - - 69% 328
Month: Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z