Latest posts

Starting MAMP’s Apache and MySQL Servers at Login

S

Whether using XAMPP or MAMP to provide a local server environment I prefer to have the respective Apache and MySQL servers start when I login.

With XAMPP I use a launch daemon and this works perfectly. With MAMP it’s even easier as there’s an option to Start Servers when starting MAMP in MAMP’s preferences. I only need to add MAMP.app to my Login Items and MAMP’s servers will be up and running after logging in.

(more…)

Changing the MySQL Root User Password in MAMP

C

Having recently changed my local testing server environment from XAMPP to MAMP v2.0.5 I wanted to change the password for the MySQL root user. By default it’s set to root.

Changing the MySQL password for the root user was straightforward enough, but locating and editing the files to reflect the new password was a different story. Failure to update all the necessary files results in MAMP reporting the following error:

/Applications/MAMP/Library/bin/mysqlcheck: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect

 

 

Information on MAMP’s own site appeared incomplete and other documentation I found — while helpful — was for versions of MAMP prior to version 2.

(more…)

Assigning a Locally Networked Computer a Static IP Address in Mac OS X

A

Each computer connected to a local network is assigned a dynamic IP address. On occasion it’s useful, if not essential, to assign a static IP address instead. As an example, port forwarding requires the destination computer on a local network to have a static IP address.

Using OS X Lion 10.7.1, I’ll describe two ways of assigning a static IP address to a computer on a local network.

(more…)

WordPress.com Stats and Jetpack Plugins and WordPress Page Navigation

W

I never did get to the bottom of the issue I was having with the Jetpack plugin and page navigation in WordPress. So, it seemed I would either have to do without site statistics provided by the Jetpack plugin or this site would have to forego page navigation.

I’ve been using site statistics provided WordPress.com for some time. The popular posts widgets in the sidebar and on single post pages rely on these statistics to display this site’s most viewed posts and pages.

(more…)

Recent Comments

Recent Posts

Archives