RE: changing mysql datadir

2008-01-04 Thread Barry Byrne
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 

> Wonder if you know whether it is possible to change mysql server data 
> dir from the default /var/db/mysql. I looked through my-small.cnf but 
> found no option called datadir.
> 
> If anyone knows how to change or where to look for 
> compile-time options 
> to set a custom datadir, I'd very much appreciate a link. I 
> was able to 

Put the following in /etc/rc.conf

mysql_dbdir="/path/to/datadir"

 - barry 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


changing mysql datadir

2008-01-04 Thread zbigniew szalbot

Hello,

Wonder if you know whether it is possible to change mysql server data 
dir from the default /var/db/mysql. I looked through my-small.cnf but 
found no option called datadir.


If anyone knows how to change or where to look for compile-time options 
to set a custom datadir, I'd very much appreciate a link. I was able to 
find Windows-related advice how to change the default datadir.


Thanks!

Zbigniew Szalbot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"