Setting up mysql replication to Amazon RDS

If you want to set up a replication between an RDS and an existing mysql server environment, you might encounter privilege errors, when trying to execute commands like "change master to…" or "stop slave;" on the RDS. Amazon RDS comes with a bunch of stored procedures that you have to use instead: MySQL Command Stored Procedure […]

Installing Memcached with Replication (repcached)

First install the needed packages: apt-get install gcc make build-essential libevent-dev libevent-1.4-2 libevent-core-1.4-2 Go here to download the repcached package: You can also find it here. Unpack and install it: tar -xvpf memcached-1.2.8-repcached-2.2.tar.gz ./configure –enable-replication make make install Next you should set up the configuration file for memcached /etc/default/memcachedrep with the following content: DAEMON_ARGS="-m 512 -p […]