MySQL for Leopard

I don’t know since how long, but I just found out that there’s already a stable version of MySQL to run on OS X “Leopard”. You may find a download link at this URL.

I haven’t installed this new version yet, but as I red it fixes all the issues from the previous versions, particularly the one about having the MySQL extension in the preferences pane of the system. This new version is also supposed to run better and faster on Intel based Macs. Well, let’s see, I’ll update this post as soon as I have done some serious testing with it.

Running MAMP

As I posted previously I’m now running MAMP as I wait for a nice PHP 5 package to be available. I did some research about how MAMP handles the htdocs folder, which is the one where you should have you web pages stored, and here are my findings. MAMP is designed to be self-contained, meaning it will not work if the htdocs folder is outside the MAMP folder in your applications, however, I just, accidentally, found a way of doing this and actually keep MAMP working.

If you open the httpd.conf file in /Applications/MAMP/conf/apache and scroll all the way down, you will find the virtual hosts section, in this section add a new virtual host, like this:

NameVirtualHost *
<VirtualHost *>
ServerName localhost
DocumentRoot “/Users/Stefan/Sites”
</VirtualHost>

In the previous example /Users/Stefan/Sites is where I have my pages stored and each time I call http://localhost in my browser MAMP will actually load the pages from there, so I have no need of moving everything into the MAMP’s htdocs folder.

You can add as much virtual hosts as you like and place them wherever you like, and MAMP will load and parse them just fine. You’re actually tricking it into believing the files are stored where they “should”.

Google datacenter?

google_datacenter.jpg

Well, I guess the image speaks for itself. I believe they are quite a monopoly like Microsoft was (according to some allegations) some years ago, but since Google is more of a “freak” thing/enterprise on one says a damn thing.