I recently got my new MacBook Pro. I plan to use this laptop for my development (Enterprise Java, Spring, AngularJS, Web et al.) as well as photo editing. This post explains steps I followed to setup my development environment on my new MacBook Pro.
(more…)
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:
cd /usr/local
sudo rm mysql
removes the symbolic link to the actual mysql installation. You may be prompted for your administrator’s password at this point.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.sudo rm -rf /Library/StartupItems/MySQLCOM
removes the MySQL startup option.rm -rf ~/Library/PreferencePanes/My*
removes preference panes.sudo rm -rf /Library/Receipts/mysql*
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 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.
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.