Use --defaults-extra-file so ~/.my.cnf still works.