MySQL not auto starting on Yosemite

I was setting up a Mac Mini to replace the existing sd3labs office Linux server and ran across an issue with MySQL not starting on reboot, hell it actually gave an error on install saying the installed failed which it really didn’t. I came across a post on Stackoverflow explaining how to correct this and thought I would mirror the info here.

The first thing you need to do is create the following file /Library/LaunchDaemons/com.mysql.mysql.plist

In the com.mysql.mysql.plist file that you just created you will need to then add the following information to it.

And lastly make sure to give it the proper permissions so it can be executed properly at startup, and then add it to launchctl as shown here.

After all said and done you should be able to reboot the system and MySQL will be running when it comes back up.

New theme and no comments

I have been using the Genesis Framework for sometime now on this site and just about every other site that I manage, but I decided that we needed a break from one another… at least for just a little bit. In keeping up with WordPress and its development I figured I would give the new Twenty Fifteen theme a test run and see what it had to offer. So far I am digging the minimalism of it, as well as the default features that are included.  The inclusion of Social links is really nice an allowed me to remove another plugin that was used previously to achieve the same function.

If you are feeling adventurous you can grab it from the nightly build, or directly via Git or SVN.

Also with this change I decided to finally do away with site comments, which is something I have been thinking about doing for sometime. Removing comments also allowed me to remove yet another plugin, that being Disqus. I may end up enabling comments on specific posts from time to time depending on the content, but overall I think they are gone for good at this point.

Thinking of disabling comments…

Lately I have been thinking more and more about disabling comments by default unless otherwise specified.  Most of the posts that I make on the site could go without comments, unless it is one of the various tech posts that I make and people have questions on the code.  Acting as kind of a test, what do you think about comments?  Are they really needed these days? Do you use them on your site(s)?

Installing sshpass on OS X

I recently came across ansible and decided to give it a go, actually kind of upset that I never came across it before as I can already imagine quite a few cases when it could have come in handy and saved me a lot of time when it came to running the same command across multiple servers.

I went about installing ansible by using Homebrew which I have installed on my MacBook Air but soon noticed that I was not able to run commands against all the servers since sshpass was not installed on my machine. I figured the easy route would be to use Homebrew and just install it, but just searching for sshpass with Homebrew I was presented with the following error message. Continue reading Installing sshpass on OS X