Install MySQL with ansible on ubuntu
When mysql-server is installed headlessly, there’s no password. Therefore to make .my.cnf work, it should have a blank password line. Here’s what I tested with for a .my.cnf: [client] user=root password= It’s also slightly strange to put .my.cnf in your vagrant user directory as owned by root and only readable as root. After ensuring the … Read more