Monthly Archives: September 2009

Avoiding temporary array assignment in PHP

Even though I’ve been developing with PHP for a number of years, I still enjoy discovering new ways of working. Even though the stdClass object is about as basic as you can get, it’s never struck me as being a

Tagged with: , ,
Posted in Development

MySQL Replication and disappearing relay logs

A recent reboot of a server highlighted an issue with MySQL 5.045 on CentOS 5.3. On this particular setup, MySQL seems to place relay logs in /var/run/mysqld/. Unfortunately, this will mean that when the machine is rebooted, the relay log

Tagged with: , ,
Posted in Linux