July 2011
« Jun   Aug »

Mac : How to download file from the command line

We can use curl features to down load files effectively in place of “wget” used in Linux

 rc-107:lucidor-0.9.4 root# curl -O                                       ulrunner/releases/   %    Total     %      Received  %     [...]

Tomcat : How to increase the Java heap size

Most of the Java applications can be more resource intensive and require more dedicated RAM for processing thread or stack type requests.

There is two method to set this variable. 1. Setting JAVA_OPTS variables in system wide. So all other java application would be utilize the this heap size reservation and it will not be [...]

Squirrel mail : Reason Given: Character not allowed in mailbox name: ‘.’

One of the mine client server has got an error while login to squirrel mail. It’s throws users to receive “ERROR: ERROR: Could not complete request. Query: CREATE “INBOX.Sent” Reason Given: Character not allowed in mailbox name: ‘.’ error showing on the left pan of the interface. So that the left pane is not visible [...]

MySQL : Most commonly used permission set

Here I’m providing certain mysql permission set required for most of the time

a. Create a user and grant all the access to that database

    mysql> create database demo; Query OK, 1 row affected (0.00 sec) mysql> grant all on demo.* to demouser@localhost identified by ‘demopass'; Query OK, 0 rows affected (0.00 sec) [...]

ERROR 1010 (HY000): Error dropping database (can’t rmdir ‘./test/’, errno: 17)

Recently I had to drop a huge database before talking a mysql hot copy backup. I got an error while I’m executing drop database statement in mysql and I can see that database name is still exists there even though there were empty tables in it or sometimes few tables may have there.

ERROR [...]