Satish, Friday, July 05, 2002, 9:26:23 PM, you wrote: SS> I am a newbie to MySQL administratation. I just SS> setup MySQL in my linux machine and want to change the SS> data directory from /var/lib/mysql to something else. SS> I put the .my.cnf file in the /etc/ directory and SS> specified the parameter datadir=/home/mysql but it SS> gives me an error invalid option. Any help is SS> appreciated.
You should put my.cnf file, not .my.cnf in /etc/ Did you put entry datadir=/home/mysql in the [mysqld] section? -- For technical support contracts, goto https://order.mysql.com/?ref=ensita 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