Change the my.cnf before configure

Change-Id: I6ac46efcd180b7e4435eb8f384c079bb8e4a6e61
Signed-off-by: Zhiguang Li <muzili@gmail.com>