Find out which options will be taken from option files by mysql, use this command
% mysql --print-defaults