I'm still testing out MySQL and I'm trying to find the my.cnf file referred 
to at
        http://www.mysql.com/doc/O/p/Option_files.html

The page says to look in:
/etc/my.cnf
DATADIR/my.cnf
defaults-extra-file (The file specified with --defaults-extra-file=# )
~/.my.cnf

but none of these files seem to exist on my machine.  (I assume my DATADIR 
is /var/lib/mysql/, since it contains subdirectories and subfiles like
./var/lib/mysql/menagerie
./var/lib/mysql/menagerie/pet.frm
./var/lib/mysql/menagerie/pet.MYI
./var/lib/mysql/menagerie/pet.MYD
which I assume represent the data stored in the "menagerie" database that I 
created while going through the MySQL tutorial.)

I searched the machine for files with "mysql" in the path and ".cnf" in the 
name (I had to look up how to do that, to give you an idea of my level of 
experience with UNIX) but found only:
./usr/doc/MySQL-3.23.36/my-huge.cnf
./usr/doc/MySQL-3.23.36/my-large.cnf
./usr/doc/MySQL-3.23.36/my-medium.cnf
./usr/doc/MySQL-3.23.36/my-small.cnf
./usr/share/mysql/my-huge.cnf
./usr/share/mysql/my-large.cnf
./usr/share/mysql/my-medium.cnf
./usr/share/mysql/my-small.cnf

which are sample files.

MySQL came pre-installed on that machine.  Is it possible (or, indeed, 
normal) that the MySQL installation process didn't create a my.cnf file?

(In that case I'd recommending adding that info to 
http://www.mysql.com/doc/O/p/Option_files.html , if the author of those 
pages is on the list.  I'll submit a comment there anyway based on what the 
list replies.)

        -Bennett

[EMAIL PROTECTED]     http://www.peacefire.org
(425) 649 9024


---------------------------------------------------------------------
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