List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:June 10 1999 4:34pm
Subject:Re: Changing the Datadir of MySQL
View as plain text  
At 11:06 AM -0500 6/10/99, Poul Christiansen wrote:
>I have been trying to change the datadir of the MySQL server, from the
>default og /var/lib/mysql to something else.
>I've attempted to do this with the following line in the /etc/my.cnf file:
>datadir = /usr/mysql/db
>It doesn't seem to work, but I cannot figure out what the suntax of this
>setting is.
>Can someone please help me?

That's the syntax, but it won't work unless you specify that the setting
applies to mysqld by giving the group specifier:


Paul DuBois, paul@stripped
Northern League Chronicles:
Changing the Datadir of MySQLPoul Christiansen10 Jun
  • Re: Changing the Datadir of MySQLPaul DuBois10 Jun