RE: Relocating the datadir

2003-06-30 Thread Andrew Braithwaite
Hi, You could either pass it as an attribute to the command line mysqld or specify it in your my.cnf : http://www.mysql.com/doc/en/Command-line_options.html Or logical link the /usr/local/mysql/data to some other filesystem (ln -s) Cheers, Andrew -Original Message- From: Claudio Alonso

Re: Relocating the datadir

2003-06-30 Thread colbey
Just shutdown mysql, move the data and create a symlink.. or start safe_mysqld with --datadir= option On Mon, 30 Jun 2003, Claudio Alonso wrote: > Hi, I'd like to know if there's a way to change where the datadir is > located. > I've installed mysql in a Sun Solaris, in the /usr/local/mysql >