MySQL Database Replication Class
I have several commercial projects running on multiple servers. These servers run MySQL replication. The problem with replication is that inserts and updates can only be run on the master server. I wrote this little database class to detect when it was connected to a 'slave' server, and if a modification query was being run, to connect to the master and run it there.
Apache Server at potato-people.com Port 80Name Last modified Size Description
Parent Directory -
example.phps 2006-12-18 20:41 406
mysql-replication-1.0.tar.gz 2006-12-18 21:08 1.9K
mysql-replication.class.phps 2006-12-18 21:23 5.2K