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

Install an apk file from command prompt?

You can use the code below to install application from command line this apk is installed in the internal memory of current opened emulator. this apk is installed in the sd-card of current opened emulator. You can also install an apk to specific device in connected device list to the adb. Refer also to adb … Read more