Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MySQL and exteNd: how to change MySQL data root permanently?

0 views
Skip to first unread message

Evgeniy Lotosh

unread,
Feb 3, 2004, 8:28:39 AM2/3/04
to
Our NW 6.5 server was upgraded fron NW 5.1 so its SYS volume has the
traditional file system. When I try to start MySQL using mysqld_safe command
it says that DATA directory is placed on non-NSS voume and exits. I can
use -h paramater (myqsqld_safe -h <new DATA root>) but it does not solve my
problem. I cannot install exteNd application server correctly because it
unloads MYSQL_Safe daemon during installation and then loads it again using
default settings (including incorrect data root).

Is there a place where I can replace old DATA folder path permanently?

Evgeniy Lotosh.


Andy Thompson (SysOp)

unread,
Feb 3, 2004, 8:58:52 AM2/3/04
to
Evgeniy Lotosh wrote:

Create a my.cnf file in sys:etc that contains

[mysqld]
datadir = mysql:/data

it should read that by default or you might have to use

mysqld_safe --defaults-file=sys:\etc\my.cnf

--

Andy Thompson
Novell Product Support Forum SysOp
(No email support, thanks.)

0 new messages