// archives

Mac OSX

This tag is associated with 3 posts

MAC OS X Tip: Uninstalling MySQL on Mac OS X

Uninstalling MySQL on Mac OS X involves manually removing following directories and files from your drive.
Assuming your MySQL is installed in /usr/local, perform the following steps:

  1. cd /usr/local
  2. sudo rm mysql removes the symbolic link to the actual mysql installation. You may be prompted for your administrator’s password at this point.
  3. sudo rm -rf mysql-5.1.47-osx10.6-x86/ removes the actual mysql installation. You may have a different version of mysql installed on your system.
  4. sudo rm -rf /Library/StartupItems/MySQLCOM removes the MySQL startup option.
  5. rm -rf ~/Library/PreferencePanes/My* removes preference panes.
  6. sudo rm -rf /Library/Receipts/mysql*
  7. sudo rm -rf /Library/Receipts/MySQL*

I was hoping for a much simpler process for cleanly uninstalling MySQL from my system.
Thanks to Rob Allen for this tip: Rob Allen’s DevNotes

Mac OS X Tip : Accessing /usr/local from the Finder window

Mac OS X hides many files and folders (directories) from the Finder, probably for the security reasons. Typically you don’t need to access these folders and shouldn’t mess with them.

Since I install most of my development related tools (JBoss, Apache Maven, MySQL) in /usr/local directory, sometimes I need to access /usr/local folder from the Finder window (for example, setting up Eclipse environment). This can be easily done by pressing command + shift + G (Go To Folder under Go menu) and then typing /usr/local in the popped-up dialog.

(more…)

Mac OS X Tips: Switch between windows opened by the same application

When I switched to iMac from Windows, I was frustrated to find out that the Command + Tab key combination on the Apple keyboard switches between different application windows, but not between different windows opened by the same application. For example, I couldn’t use this combination to switch between multiple Firefox windows opened previously.

Of course you can use select the menu Window -> Name of the window, but I prefer to use keyboard shortcuts for a quicker navigation. It was nice to find out that the Command + ` key combination can be used to do just what I was looking for.

Mac OS X keyboard shortcuts is a good place to learn about common Mac OS X keyboard shortcuts.

Categories