Modification: rule_mysql_configure
[lhc/ateliers.git] / vm_hosted
index 8fc2641..46aa6af 100755 (executable)
--- a/vm_hosted
+++ b/vm_hosted
@@ -708,6 +708,11 @@ rule_mail_configure () {
  }
 rule_mysql_configure () {
        rule apt_get_install mysql-server-5.5
+       sudo install -m 644 -o root -g root \
+           "$tool"/etc/mysql/my.cnf \
+           /etc/mysql/my.cnf
+       sudo install -d -m 750 -o mysql -g mysql \
+        /home/mysql
        sudo service mysql restart
  }
 rule_network_configure () {