If you use a premade one - maybe... but if you create one from scratch with
only the datadir variable, then it shouldn't. But if you create one from
scratch, at least print out a premade one and make sure you create it
correctly.

You may also want to examine the command you use to start MySQL. It might
have the data-dir variable already set. Most people start it with either
safe_mysqld or by using a startup script like mysql-server.sh. You might try
modifying those...

- Jonathan

-----Original Message-----
From: Alexander Shaw [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 14, 2001 9:03 AM
To: MySQL List
Subject: RE: Changing location of database files


Jonathon wrote:

"You should be able to change the data-dir variable in your /etc/my.cnf
file.
If the file isn't there, you can either create it or use a premade one and
fine-tune it. If the datadir variable isn't in the my.cnf, you can add it."

Only problem is that the server is up and running perfectly but there is no
sign of a my.cnf file anywhere. Will just adding one into /etc cause
problems?

Alex
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.306 / Virus Database: 166 - Release Date: 04/12/2001


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to