"sanjay gupta" <[EMAIL PROTECTED]> wrote:
>            I  am using  RH7.1 box . I am preparing to install mysql 4.0.13.
> Previously when i installed the mysql the mysql data directory was
> /var/lib/mysql . I uninstall the mysql . Now i want my data directory to be
> /var1/lib/mysql  instead of /var/lib/mysql . I want this because var1 is
> mounted to my raid device /dev/md0  and i want mysql data directory should
> be /var1
> 

Move databases to the new MySQL data dir. Run mysqld with --datadir=/var1/lib/mysql 
option or put to the my.cnf

[mysqld]
datadir=/var1/lib/mysql



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to