suitmymind-ubuntu-machine 0.4.5.1 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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}"
|