Hello Brian,

Monday, January 21, 2002, 7:24:42 PM, you wrote:

BT> Hello. I recently installed MySQL and had a few questions 
BT> in regard to the save directories. I see by default, MySQL 
BT> saves the files in a /data/ folder on the main hard drive. 
BT> What I am trying to
BT> setup is this: I have two hard drives on my computer. One 
BT> is the main one where server installation files will be stored. 
BT> The second one is where data files will be separated and be 
BT> backed up via a RAID.

BT> What would you say is the easy way to edit the MySQL config 
BT> file to have it save to my second hard drive instead of the 
BT> main one where MySQL is installed. Would I have to edit the 
BT> mysql_config file? Any help or suggestions would be great. 
BT> Ya know.. the ability to switch this around without screwing 
BT> anything up major :)

You should change default directories by editing my.cnf :
[mysqld]
datadir=path_to_your_dir

or you should run mysqld with -h, --datadir=path_to_your_dir





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




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to