[COOK-3149] Create `.my.cnf` before installingY

Signed-off-by: Seth Vargo <sethvargo@gmail.com>
[COOK-3677] Fix changing data_dir