On Wed, Aug 19, 2009 at 5:47 PM, Ramkumar<ramkumar...@gmail.com> wrote:
>    we installed
>                     OS                           Centos
>                     DB                           Mysql
>                     Data Directory           /var/lib/mysql
>                  Now we have only 4 GB available in our 160 GB HardDisk.How
> can we add extra hard disk and how to redirect data directory for

Add extra HDD and mount it in say "/data1/"

Bring down mysql and do this,

$ mv /var/lib/mysql /data1/mysql
$ ln -s /data1/mysql /var/lib/mysql

Bring up mysql.

-- 
Senthil Kumaran S
http://www.stylesen.org/
_______________________________________________
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to