Re: mysqldump complains about .my.cnf variables meant for mysql client
Posted by: Jeremy Smyth
Date: April 12, 2013 03:06AM

From http://dev.mysql.com/doc/refman/5.6/en/option-files.html :

The [client] option group is read by all client programs (but not by mysqld). This enables you to specify options that apply to all clients... Be sure not to put an option in the [client] group unless it is recognized by all client programs that you use.

Later on the same page, it shows an example of using an option group specifically for individual client programs such as mysql and mysqldump:


[mysqldump]
quick
...
[mysql]
no-auto-rehash
connect_timeout=2



Edited 1 time(s). Last edit at 04/12/2013 03:08AM by Jeremy Smyth.

Options: ReplyQuote


Subject
Written By
Posted
Re: mysqldump complains about .my.cnf variables meant for mysql client
April 12, 2013 03:06AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.