MAMP WordPress and Error establishing a database connection

I’ve installed MAMP on my Mac to do some changes to my blog. I tried to set the WordPress wp-config.php file to connect to localhost:8889, but got an error that It could not connect to the database. After replacing localhost:8889 to 127.0.0.1:8889 it works. My quick guess is that permissions for the root user is set to allow connections 127.0.0.1, but not localhost. Anyway, it works now.

My wp-config.php file looks like this:

define('DB_NAME', 'wordpress'); /** MySQL database username */

define(‘DB_USER’, ‘root’);

/** MySQL database password */

define(‘DB_PASSWORD’, ‘root’);

/** MySQL hostname */

define(‘DB_HOST’, ’127.0.0.1:8889′);

iPhone will increase Macintosh software

Nobody talks about the fact that all the companies that will now start making programs for the iPhone will first learn how easy it is to program with Cocoa. Then suddenly you have a lot of new programmers that know how to program for the Mac as well. Yes, it’s that similar. What would stop them, now that they have inhouse knowledge to make a Macintosh version of the software? Nothing…

Mac OS X 10.5.2 hangs on wake from sleep

I have had this annoying problem with my Macbook Pro. Sometimes when waking the machine from sleep, the machine can not connect to the selected Airport network and then hangs with spinning pizza of death.

Apples next update to 10.5.3 looks like it will fix it. Hopfully Apple will release it soon…

From Fixed list of Mac OS X update 10.5.3 - Joining AirPort network after wake issue resolved

Word in Microsoft Office 2008 saves without saving

Here’s a nice bug for ya. One of the users at work has a Word document, and when she uses “Save As…” to save the file to another location everything looks normal. But Word never saves the file! It’s non existant! This is only if the setting for compatibility with Office 2004 is set.

This isn’t the first time something like this happened, you also have the infamous “Let’s delete the Powerpoint file before saving and then crasch“-bug where users where left without a document after saving.

You see a lot of reviews of Office 2008, but it feels like no one has the guts to call the pig a pig…

Yeah, upgrading to Office 2008 will fix the problem. Not!

So i’ve upgraded some of the users to Microsoft Office 2008 at work, just to see if we have less problems with it. But It seems like the geniuses at Microsoft still can’t program. The classic “you are out of memory” dialog pops up in Word, and it’s impossible to save to any volume. My attempt to move users to another program has been unsuccessful.

But I guess it keeps the support industry going…

Zhaolu 2.5 DAC

Mac MiniI just bought a new Mac Mini Core Duo2 as a media player in my bedroom. I connected it an old 23″ Cinema display that I don’t use. First I was a bit annoyed that I needed to use the keyboard and mouse, but then I found Remote Buddy. What a relief! I can now do almost anything with Apples lovely simple remote. I’m going to use it for playing back my CD collection that’s been ripped to a large hardisk. Watching DiVX, DVD, MPG films on it. And watch TV with my EyeTV kit.

Zhaolu DAC 2.5So the next step was getting the audio out of the mini. Well, let’s face it, the output quality from line-out isn’t something you can call great. So I’m about to order an Zhaolu DAC 2.5 and mod the crap out of it! I’m thinking of installing a ZapFilter, better clocking etc. I’m then going to use mini-spdif connector to get the digital data out from the mac to the DAC.

Now I just need to get my home built amp finished.