Is it a save assumption that I need to create a section for every admin
command that I want to use?  i.e., create another section for mysqladmin and
so on???  

Thx,

dK

-----Original Message-----
From: Victoria Reznichenko [mailto:victoria.reznichenko@;ensita.net]
Sent: Wednesday, October 23, 2002 5:28 AM
To: [EMAIL PROTECTED]
Subject: re: my.cnf settings and running admin commands such as
mysqldump or m


David,
Wednesday, October 23, 2002, 12:23:36 AM, you wrote:

DK> I was wondering if someone could shed some light on setting parameters
in
DK> my.cnf.  When I set params such as user and password in my my.cnf file I
DK> dont need to then pass these parameters to commands such as mysqldump or
DK> mysqladmin?  Is this True?  Can someone please send me an example of
their
DK> my.cnf file, Im just curious what a real example would look like.  I
have
DK> already read through the my.cnf documentation on the website, but if
someone
DK> has a better place for online doc on the config file please let me know.
DK> Any other insight is more than welcome and appreciated.

For mysqldump you create a section [mysqldump] in the my.cnf where you
can specify mysqldump options like

[mysqld]
.........

[mysqldump]
user=Victoria
password=mypassword
........


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.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

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