Support run rubbos test mult times
[bottlenecks.git] / rubbos / rubbos_scripts / 1-1-1 / scripts / MYSQL1_configure.sh
index 5b5362a..3b8759d 100755 (executable)
@@ -6,9 +6,9 @@ source set_bottlenecks_rubbos_env.sh
 echo "CONFIGURING MYSQL on $HOSTNAME"
 
 cd $MYSQL_HOME
+chown -R mysql:mysql ./
 cp support-files/my-medium.cnf /etc/my.cnf
-bin/mysqld_safe --user=$BOTTLENECKS_USER &
-sleep 10
+#bin/mysqld_safe --user=$BOTTLENECKS_USER &
 #bin/mysqladmin -u root password 'new-password'
 cp support-files/mysql.server /etc/init.d/mysql.server
 /etc/init.d/mysql.server status
@@ -20,3 +20,4 @@ fi
 ln -s $MYSQL_HOME/bin/mysql /usr/local/bin/mysql
 
 echo "DONE CONFIGURING MYSQL on $HOSTNAME"
+