7 Minute Miles Header

Finally here (comfortably) in shorts

Pic posted May 31, 2018

Target Field

From the @kingsbury Instagram account


flourish icon

Never know when I run across a system that has 673 days of uptime whether to be impressed or terrified


@kingsbury tweeted May 31, 2018


flourish icon

Link: Cali + Gorillaz + JB = ❤️

Linked May 31, 2018


flourish icon

Cheers to (almost) the end of bike challenge month


@kingsbury tweeted May 30, 2018


flourish icon

Hey @danielle_ottman – look what’s back…

Pic posted May 30, 2018

OCTO fishbar

From the @kingsbury Instagram account


flourish icon

Finished season two of “A Series of Unfortunate Events” in two sessions – Patrick Warburton has the coolest voice


@kingsbury tweeted May 30, 2018


flourish icon

MySQL issues on High Sierra

Posted May 28, 2018

Just a short post to document an issue I needed to troubleshoot the past few weeks on my web server in Vegas (Go Knights Go!). I’ve been running Homebrew versions of MySQL for some time now with no issues, but recently was receiving quite a few “Can’t connect to MySQL server” errors on all of my virtually hosted WordPress sites. It was particularly difficult to troubleshoot at first because it wasn’t an all or nothing situation – some database calls would go through, while others would not. All I knew was that the old “brew services restart mysql” command would clear things up for a few hours before the flakiness would return.

When I first started looking at the web server logs, I found a lot of error messages like this:

WordPress database error Table 'wp_termmeta' doesn't exist

There were a ton of these – guessing this was relating to the earlier database corruption issues I had related to InnoDB. Turns out that table really didn’t exist and I found this post that had the required SQL to properly recreate it. I wasn’t really sure if any of the themes or plugins that were looking for this table would actually re-populate the table with data (it doesn’t appear so), but the error messages in the logs have gone away (and everything seems a little faster now). Unfortunately, this did not have any impact on the MySQL connection issue.

Going back to the web server log, I found a number of mysqli errors:

PHP Warning: mysqli_connect(): MySQL server has gone away
PHP Warning: mysqli_connect(): Error while reading greeting packet.

These made me think it was on the database side and not an issue with Apache or PHP. I had tried messing a little with the my.cnf file, but it didn’t seem like any of the changes were having any impact. When I started looking for Homebrew MySQL tips, I first decided to reinstall MySQL while keeping the data directory in place (brew reinstall mysql). That seemed to work fine, keeping users and permissions in place while just recompiling the latest MySQL. All of the virtual sites came back up, but the can’t connect errors reappeared later in the day.

Next up, I was fully prepared to follow these instructions to blow away every sign of MySQL and reinstall from scratch (dumping all of the tables first using the awesome Sequel Pro). While looking at the /usr/local/var/mysql directory, I realized that Homebrew MySQL stores a local.err log in that same directory, which I hadn’t looked at (since Console doesn’t include it by default). This log was chock full of lines like this:

[Warning] File Descriptor 1024 exceeded FD_SETSIZE=1024

That lead me to this excellent post by Derek Jones that had me change a number of lines in the my.cnf file (specifically interactive_timeout = 300 and wait_timeout = 300). Some of the comments in this thread were also useful. I restarted the database server yet again and so far it’s been up and running for 24 hours straight (fingers crossed).

So to summarize troubleshooting 101: read all your logs, Google the errors and be thankful for those that blazed a path before you (and took the time to document it online).


flourish icon

Forest Lake chicken shack

Pic posted May 28, 2018

A little hot in the coop


flourish icon

Not even two weeks

Pic posted May 28, 2018

Lilac season seems to get shorter and shorter every year


flourish icon

Wasn’t expecting this

Pic posted May 28, 2018

Kinda like finding a “Bort”


flourish icon

Go Knights Go

Pic posted May 28, 2018

Herm and AF @ T-Mobile Arena


flourish icon

Ha! 🐶 🏒


@kingsbury tweeted May 28, 2018


flourish icon

Great stories on both sides (didn’t know T.J. Oshie is a member at Southview), but I gotta go with (500-1) Haula, Tuch and Bark-Andre Furry


@kingsbury tweeted May 28, 2018


flourish icon

Saw more St. Paul squad cars on my bike ride today than I’ve seen in the past two weeks


@kingsbury tweeted May 28, 2018


flourish icon

When the neighbors have the good stuff


@kingsbury tweeted May 27, 2018


flourish icon

Spring baseball > frozen winter

Pic posted May 27, 2018

CHS Field

From the @kingsbury Instagram account


flourish icon

Not the three good ones

Pic posted May 27, 2018

…but better than last time


flourish icon

Learned so many things I didn’t know while watching The Zen Diaries of Garry Shandling


@kingsbury tweeted May 26, 2018


flourish icon

Garry was the Prince of comedy…

— Judd Apatow

Quote posted May 26, 2018


flourish icon

Keys to 96F golf: Gatorade, (reluctant) cart, shade, new clubs, shoot 86


@kingsbury tweeted May 26, 2018


flourish icon

Hot + humid + hills = cart

Pic posted May 26, 2018

The Summit Golf Club

From the @kingsbury Instagram account


flourish icon

Bike pit stop

Pic posted May 25, 2018

Highland Park

From the @kingsbury Instagram account


flourish icon

The ball-eating tree looms

Pic posted May 25, 2018

Number four @ Keller with Ed and Leo


flourish icon

That was close

Pic posted May 25, 2018

Glad I stayed in the pavilion


flourish icon

Don’t know who in the food chain eats gnats, but they’ve hit the motherlode tonight along the Mississippi


@kingsbury tweeted May 24, 2018


flourish icon