When installing PHP and MySQL on OSX you may get the error Can’t connect to local MySQL server through socket ‘/var/mysql/mysql.sock’. Or you may also get “No such file or directory” when calling mysql_connect from a PHP page. This occurs because PHP is looking for the file mysql.sock in it’s typical installation location of /var/mysql/mysql.sock. [...]
TortoiseSVN for Apple OSX
TortoiseSVN is my personal favorite SVN client, unfortunately it’s only fully supported on Windows. With a little bit of hacking, though, TortoiseSVN is usable on OSX. You can checkout, commit, update view the repo, etc. At this point there are no overlays or Finder contextual menus. These instructions are not for the novice user, but [...]
SCPlugin – authorization failed
SCPlugin for OSX may return “authorization failed” when you try to update or commit the first time you use it. The reason for this is that it uses the keychain however it doesn’t seem to pop-up the Allow/Deny dialog in order for you to allow it to access the keychain. The solution is that you [...]
Mount an OSX AFS shared folder over SSH
This is a simple way to mount an OSX shared folder over SSH without installing any additional software. For this to work you must be sharing a folder using AFP (Apple File Sharing) protocol and have “Remote Login” (i.e. SSH) enabled. These settings are all found in System Preferences->Sharing. If your server is behind a [...]
Leopard error: Java for ppc cannot run in this configuration
OSX 10.5 Leopard may show the following error in the console when opening certain Java applications in Rosetta: JavaVM FATAL: Java for ppc cannot run in this configuration. JavaVM FATAL: Please consult documentation. This error appears in PPC applications that have a Java component and are trying to use an older version of the Java [...]