In some cases you have to change the default MySql data directory, for doing this you have to follow some steps. Here I will explain each steps one by one.
Stop MySql server using following command.
$ sudo /etc/init.d/mysql stop
Copy the existing data directory (which is located in /var/lib/mysql) using following command.
$ sudo ...
01 January 2010

Posted by Shahid
Mysql
Getting the below errors:
$ ./agent/sbin/mysql-proxy -V
mysql-proxy: error while loading shared libraries: libmysql-chassis.so.0: cannot open shared object file: No such file or directory
mysql-proxy: error while loading shared libraries: libmysql-proxy.so.0: cannot open shared object file: No such file or directory
The error ...
14 October 2009

Posted by Shahid
Linux
dmidecode is a tool for dumping a computer’s DMI (some say SMBIOS) table contents in a human-readable format. This table contains a description of the system’s hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this ...
19 June 2009

Posted by Shahid
Linux
Great Article
"After The Software Wars", is a new book in which former Microsoft employee Keith Curtis explores the worlds of proprietary and free software. Quoting from the article:
While I came to not be all that thrilled with Fedora itself, I was floored merely by the installation process. It contained a graphical installer that ...
19 June 2009

Posted by Shahid
Linux
One of the most helpful feature I find in linux boxes is it autocomplete fasility. This feature will make our job more easier. But in some servers or VPS this option is desabled by default or relevent packages for autocomplete where not installed. To enable autocomplete we need to two things.
1. Install the package ...
The Ubuntu 9.04 Server Edition beta includes Eucalyptus, an open source software infrastructure for implementing “cloud computing” on clusters, such as Amazon’s EC2 (Elastic Compute Cloud). Eucalyptus is provided as a technology preview to allow users “to experiment with cloud computing”.
EUCALYPTUS -- Elastic Utility ...
Date command options.
Date command to get the current date.
$ date=$(date +%Y-%m-%d)
$ echo $date
Date command to get yesterday's date.
$ date=$(date --date=yesterday +%Y-%m-%d)
$ echo $date
Date command to get tomorrow's date.
$ date=$(date --date=tomorrow +%Y-%m-%d)
$ echo $date ...
26 February 2009

Posted by Shahid
Linux
This is a true story of one of my friend
"This a true story of mine. I brought a Lenovo 3000N200 series laptop one year back, exactly 21’st Feb 2008 from Dubai Shopping festival for Rs 35, 000. I was very satisfied with their product initially, as it is cost effective with good performance. But after 3 months of working my laptop ...
09 February 2009

Posted by Shahid
Mysql
In certain applications we need the details of all the counties in the world, all the states in in each country and the capital of all the country. And it is difficult to create all theses information's manually. But mysql provide a file world.sql which contains sample data for a world database that you can play with. This file ...
24 January 2009

Posted by Shahid
Linux
eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.
eAccelerator stores compiled PHP scripts in shared ...