spec/config/clobber in lhm-1.0.0.rc3 vs spec/config/clobber in lhm-1.0.0.rc4
- old
+ new
@@ -10,11 +10,11 @@
sleep 5
}
echo stopping other running mysql instance
launchctl remove com.mysql.mysqld || { echo launchctl did not remove mysqld; }
-mysqladmin shutdown || { echo mysqladmin did not shut down anything; }
+"$mysqldir"/bin/mysqladmin shutdown || { echo mysqladmin did not shut down anything; }
echo killing lhm-cluster
lhmkill
echo removing $basedir
@@ -22,11 +22,11 @@
echo setting up cluster
spec/config/setup-cluster
echo staring instances
-mysqld --defaults-file="$basedir/master/my.cnf" 2>&1 >$basedir/master/lhm.log &
-mysqld --defaults-file="$basedir/slave/my.cnf" 2>&1 >$basedir/slave/lhm.log &
+"$mysqldir"/bin/mysqld --defaults-file="$basedir/master/my.cnf" 2>&1 >$basedir/master/lhm.log &
+"$mysqldir"/bin/mysqld --defaults-file="$basedir/slave/my.cnf" 2>&1 >$basedir/slave/lhm.log &
sleep 5
echo running grants
spec/config/grants