Removed user check requirement to write .my.cnf and added more restrictive permissions on .my.cnf