David, Wednesday, October 23, 2002, 7:48:25 PM, you wrote: DK> Is it a save assumption that I need to create a section for every admin DK> command that I want to use? i.e., create another section for mysqladmin and DK> so on???
Yes and no. Common options like user, password you can put in the [client] section of my.cnf Specific option, like all-databases for mysqldump, you can put into [client] section and it will work for mysqldump, but it's "unrecognized option" for other clients. So, you will get errors ... DK> -----Original Message----- DK> From: Victoria Reznichenko [mailto:victoria.reznichenko@;ensita.net] DK> Sent: Wednesday, October 23, 2002 5:28 AM DK> To: [EMAIL PROTECTED] DK> Subject: re: my.cnf settings and running admin commands such as DK> mysqldump or m DK> David, DK> Wednesday, October 23, 2002, 12:23:36 AM, you wrote: DK>> I was wondering if someone could shed some light on setting parameters DK> 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 DK> their DK>> my.cnf file, Im just curious what a real example would look like. I DK> have DK>> already read through the my.cnf documentation on the website, but if DK> 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. DK> For mysqldump you create a section [mysqldump] in the my.cnf where you DK> can specify mysqldump options like DK> [mysqld] DK> ......... DK> [mysqldump] DK> user=Victoria DK> password=mypassword DK> ........ -- 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