mysqldump complains about .my.cnf variables meant for mysql client
Posted by: Roderick Mann
Date: April 12, 2013 02:36AM

mysql Ver 14.14 Distrib 5.5.28, for debian-linux-gnu (x86_64) using readline 6.2

I have, among other variables, the following specified in my .my.cnf file:

[client]
init-command='set autocommit=0'

Unfortunately, mysqldump tries to interpret that line and complains:

mysqldump: unknown variable 'init-command=set autocommit=0'

I tried putting in a [mysqldump] section, but it still complains about the client line. It really should ignore anything it doesn't recognize. Is there a better way to get what I want? Thanks!

Options: ReplyQuote


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


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.