Argh... So I wanted to update my internal server to the latest and greatest version of MySQL. I downloaded the nice Mac OS X ver. 10.6 (x86, 64-bit), DMG Archive installer package they have and low and behold, MySQL won't start-up!
Well, no need to worry. Seems to be an issue with the installer package. To see if you have the same problem I'm having, do the install and then fire up ye ole terminals and type:
sudo /usr/local/mysql/support-files/mysql.server start Password: XXXXXX
If you see a fun message that looks like this:
/usr/local/mysql/support-files/mysql.server: line 256: my_print_defaults: command not found Starting MySQL ERROR! Couldn't find MySQL server (./bin/mysqld_safe)
Then you have the same problem I'm having. Here's how you can fix it.
Over the past few weeks I have been seeing a nice little error message coming from a few of my customers shared hosting sites. It seems to happen whenever I am using CFIMAGE to read or resize an image. I did a little digging on Google and came across a nice thread discussing the problem. I'm posting it here so I have easy access to it, but you might find a need for it as well.
"If you are using Sandbox Security you'll need to add the value of the GetTempDirectory function to your Sandbox with read and write permissions and it will start working again."
I'll keep you updated on the response from the ISP.
This post is primarily a reminder for myself, but it might be useful for others as well. One of the cool new features of CCS3 is the ability to use customer fonts by declaring @font-face. I've been using some of the cool @Font-Face Kits from Font Squirrel on some of my new sites. One of the things I just discovered is that some of there included .eot files do not seem to work as expected on Internet Explorer (.eot fonts are what IE is supposed to use).
Anyway, I fixed the problem, by converting the included TrueType (.ttf) file into an .eot font using the ttf2eot service and everything seems to be working correctly now.
If you're looking for some examples of website development "best" practices, then look no further the the HTML5 Bolierplate by Paul Irish (As well as a slew of other contributors). The site says that this thing is "badass" and I couldn't agree more. I personally have been using a slightly modified version (Made it ColdFusion compatible) of this for the past few websites I've created and a few older sites that I converted. I'm quite impressed.
Why am I impressed? Well, for starters, Google Analytics is showing that the traffic on the sites that I converted jumped 500%. This is essentially telling me I had some problems with the way I was structuring my sites.
CD to the build directory (located inside the bolierplate framework) and type
ant build. Then sit back while it does its thing.
Don't just take my word for it, check it out yourself and see the awesomeness.