AFP548 Changing the world one server at a time.

Servers and Services

Using MySQL with PHP on Server 10.6

If you are getting an error "Can't assign requested address" you may have a problem with the mysql port. I had just moved my server to a MacMini running Mac OS X 10.6 and mysql_connect was giving this error. Going into the /etc/php.ini file and setting the default port number to 3306 fixed the problem.

By kd4ttc 1 min read

Management

mcxrefresh

Snow Leopard comes with a great little new command in mcxrefresh, which as you might have guessed refreshes policy information. This allows you to request a new set of policies and provided the command returns with no errors the process has completed successfully (exit's 0).

By cedge 1 min read

macOS

Application location changes

Apple has moved Directory Utility from /Applications/Utilities/ to /System/Library/CoreServices/ .It can also be accessed through the Accounts System Preference by going to Login Options and clicking "Edit" next to the network account server at the bottom.

By JonThompson 1 min read

Files and Storage

Disable WINS in Leopard

Ed. Note: This is interesting as otherwise you'll always be visible over WINS/NetBIOS whether you're actually sharing via SMB or not. Finally I believe I found the magic command to disable WINS on Leopard to stop it from showing on a Windows network.

By cashxx 1 min read