Add MySQL to terminal shell in Mac OS X

Mac OS X 10.6 snow leopard uses the bash shell by default. If you install MySQL from the disk image (dmg) from, you can make it easy to access the mysql binary from the command line by adding it to your bash path.

Here’s how:

Open terminal, and type:

This adds the default location of the MySQL binary to your shell environment.

Then, you need to force the system to reload your .bash_profile file. Again, from terminal, enter:

You can check your environment variables by typing in terminal:

Now, to access MySQL from the command line, you only need enter:

Google flagging all search results as “harmful”

Searching for GarageBand ’09 topics this morning, I noticed a pattern — one that’s virtually impossible to notice given Google’s new self-appointed role of protector of digital humanity.

Every link is flagged as “This site may harm your computer” — even trusted pages on the topic, such as pages on Any attempt to visit the resulting links are intercepted by Google, in effect preventing me from visiting the site. Sounds like a good idea, except it isn’t, because Google can’t seem to get it right, and Google isn’t interested in fixing sites that are incorrectly flagged.

Continue reading

Add Google Maps iframe & YouTube embed to Apple Wiki Server

Apple’s Teams Wiki Server supports very few HTML tags out of the box, in order to keep things simple. But, like Any Good Unix Ought To, Mac OS X Server gives you the ability to manipulated things, such as adding iframe, embed, param, and object tags to the Wiki/Blog server. Here’s how: Continue reading

Apple: Drop the Smug Ads

I’m sick of Apple’s snobbery. As an AAPL stockholder and customer, I’m fed up with Apple alienating and insulting PC users.

Now, I’m not a Mac-hater; far from it. In fact, I’m a recent re-convert, having come back to the Mac platform after leaving it for Windows 95 when Microsoft was turning itself around based on Bill Gates’ long-overdue realization that the web was the future. Now, I’m primarily a Mac user. Up until just over a year ago, I was primarily a Windows user. Continue reading