Fixing bugs for .my.cnf parsing and case sentivity in mysql query