I just looked into this myself since today was the first time I had to do anything with the configuration.
The answer is, in the default installation, no conf file is created. (In my case, I mean from instllating from source rather than from binary.) So what you do is look for the unused-but-available my-example.cnf and then save it to my.cnf in the appropriate location. My locations are: /usr/share/mysql/my-example.cnf /var/lib/mysql/my.cnf In my case the cnf applies on a per-server basis (allowing multiple db servers on the one host, each with its own cnf file) rather than applying to everything mysql. At 03:22 PM 10/31/01 -0800, Brent Simpson wrote: > >I'm trying to configure MySQL to run on my Mandrake 8.1 box. The Linux >install automatically installed MySQL, albeit in some pretty strange >places, but it's there and running upon startup. I would like to modify >it so that it is not running as 'root' though on startup. I've read a >lot of the documentation and from what I can tell it is being started >via the /etc/init.d/mysql script (which looks exactly the same as the >mysql.server script) but I cannot locate the my.cnf file that the docs >talk about. Can I just create this file from scratch to start MySQL as a >different user, or do I have to change the mysql startup script in >/etc/init.d/ to use a my.cnf file? > >brent. > > >--------------------------------------------------------------------- >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 > > > ............................................................................ Les Neste 678-778-0382 http://www.lesneste.com --------------------------------------------------------------------- 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