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 > directory, but I want the databases to be located in another filesystem. > Is there a way to relocate them? > > Thanks in advance, > > --Claudio > > _________________________________________________________________ > Charla con tus amigos en línea mediante MSN Messenger: > http://messenger.yupimsn.com/ > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] > -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]