spec/config/grants in lhm-1.0.0.rc3 vs spec/config/grants in lhm-1.0.0.rc4

- old
+ new

@@ -1,11 +1,11 @@ #!/bin/sh source .config -master() { mysql --protocol=TCP -P $master_port -uroot; } -slave() { mysql --protocol=TCP -P $slave_port -uroot; } +master() { "$mysqldir"/bin/mysql --protocol=TCP -P $master_port -uroot; } +slave() { "$mysqldir"/bin/mysql --protocol=TCP -P $slave_port -uroot; } # set up master echo "create user 'slave'@'localhost' identified by 'slave'" | master echo "grant replication slave on *.* to 'slave'@'localhost'" | master @@ -20,6 +20,6 @@ echo "grant all privileges on *.* to ''@'localhost'" | master echo "grant all privileges on *.* to ''@'localhost'" | slave echo "create database lhm" | master -echo "create database lhm" | slave +echo "create database if not exists lhm" | slave