Simmons Consulting, the Website of Toby Simmons

Archive for August, 2008

Connecting PHP 4 to MySQL 5


I recently upgraded one of our MySQL servers from 4.1.22 to 5.1.26. In the process of upgrading, I dumped all the databases, uninstalled MySQL then installed a clean copy of 5.1.26. Then I manually created all the users and schemas by hand, then restored our backups to the new install. Everything went smoothly and all the servers that had PHP 5.x installed could connect with no problems (because they used the latest version of the MySQL client API.)

Matt Mullenweg in Generation Kill?


I’ve been watching an HBO mini-series called Generation Kill. It’s a grim and gritty look at Marine forces that were involved in the second Iraq war. It is extremely well written and the actors seem to be authentic. But did anyone else realize that one Matt Mullenweg (the mastermind behind WordPress) is apparently moonlighting as Lt. Nate Fick? Inquiring minds want to know …

(It is actually Stark Sands that plays Lt. Nate Fick, but c’mon, you can see the resemblance, right?)