How to uninstall Python 2.7 on a Mac OS X 10.6.4?

Do not attempt to remove any Apple-supplied system Python which are in /System/Library and /usr/bin, as this may break your whole operating system. NOTE: The steps listed below do not affect the Apple-supplied system Python 2.7; they only remove a third-party Python framework, like those installed by python.org installers. The complete list is documented here. Basically, all you need to do is the … Read more

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’

It’s probably because MySQL is installed but not yet running. To verify that it’s running, open up Activity Monitor and under “All Processes”, search and verify you see the process “mysqld”. You can start it by installing “MySQL.prefPane”. Here is the complete tutorial which helped me: http://obscuredclarity.blogspot.in/2009/08/install-mysql-on-mac-os-x.html

Where to place $PATH variable assertions in zsh?

tl;dr version: use ~/.zshrc And read the man page to understand the differences between: ~/.zshrc, ~/.zshenv and ~/.zprofile. Regarding my comment In my comment attached to the answer kev gave, I said: This seems to be incorrect – /etc/profile isn’t listed in any zsh documentation I can find. This turns out to be partially incorrect: … Read more

How can I run python in terminal on a mac?

First, the lesson said to simply type, python, into terminal to start coding in python (I don’t know if this is the way to say that, or if that just gives you the ability to run python code?) What happens when you type a program name into terminal is that it basically executes the program, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)