Relocating the datadir

2003-06-30 Thread Claudio Alonso
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 directory, but I want the databases to be located in another filesystem. Is there a way to relocate them? Thanks in advance, --Claudio

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