suitmymind-ubuntu-machine 0.4.5.1 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -52,6 +52,7 @@ namespace :mysql do
|
|
52
52
|
# set a default dummy password for the root user so the installer do not ask interactively for a password
|
53
53
|
put render("my.cnf", binding), ".my.cnf"
|
54
54
|
sudo "mv .my.cnf /root"
|
55
|
+
sudo "chown root:root /root/.my.cnf"
|
55
56
|
|
56
57
|
sudo "aptitude install -y mysql-server mysql-client libmysqlclient15-dev"
|
57
58
|
run "mysqladmin -u root password #{db_root_password}"
|