Archive for July, 2011

mk-heartbeat – sample conf file

There's not a whole lot (if any) documentation on what the file for the --config parameter for Maatkit's mk-heartbeat should look like.If you quickly pilfer through the source code, what it's looking for becomes pretty straight forward (It'd be nice to have this in the documentation, however).The config files are...
Read More

All of your PHP code is going to look silly! PHP 5.4, here we come!

No, not as in 5.4 will make you write stupid code. As in it will make all pre-5.4 attempts to maximize re-use through crazy inheritance chains look ridiculous compared to what traits will deliver.I already have a sense of dread of being a year into PHP traits looking at not-too-old...
Read More

Nay say for ext2/ext3, seemingly ext4 for MySQL servers

 Basically I felt compelled to make a note regarding what filesystem to evaluate when you are performing a MySQL install. There seems to be a lot of reasons NOT to use the ext filesystems, and instead use XFS..This is a straight out quote from a MySQL at Facebook blog entry:ext-2...
Read More

Worthy of distribution: Reset root MySQL password

Oh snap! Need to reset your mysql root/admin (or any?) MySQL password? Well, you'll need root and control over MySQLd to some extent, but this is worthy of a rainy-day bookmark indeed: http://mysqlpreacher.com/wordpress/2011/03/recovering-a-mysql-root-password-three-solutions/ Subscribe in a reader...
Read More