Sha256: 97507d1023348786e470227639c9909b9626c79a21e30f1310fe844b9d5c25ff
Contents?: true
Size: 1.14 KB
Versions: 7
Compression:
Stored size: 1.14 KB
Contents
Preparing for master slave integration tests -------------------------------------------- # configuration create ~/.lhm: mysqldir=/usr/local/mysql basedir=/opt/lhm-cluster master_port=3306 slave_port=3307 mysqldir specifies the location of your mysql install. basedir is the directory master and slave databases will get installed into. # setup You can set the integration specs up to run against a master slave setup by running the included `bin/lhm-spec-clobber.sh` script. this deletes the configured lhm master slave setup and reinstalls and configures a master slave setup. Follow the manual instructions if you want more control over this process. # manual setup ## set up instances bin/lhm-spec-setup-cluster.sh ## start instances basedir=/opt/lhm-luster mysqld --defaults-file="$basedir/master/my.cnf" mysqld --defaults-file="$basedir/slave/my.cnf" ## run the grants bin/lhm-spec-grants.sh ## run specs To run specs in slave mode, set the SLAVE=1 when running tests: MASTER_SLAVE=1 rake specs # connecting you can connect by running (with the respective ports): mysql --protocol=TCP -p3307
Version data entries
7 entries across 7 versions & 2 rubygems
Version | Path |
---|---|
lhm-2.0.0 | spec/README.md |
lhm-1.3.0 | spec/README.md |
lhm-1.2.0 | spec/README.md |
sbader-lhm-1.1.0 | spec/README.md |
lhm-1.1.0 | spec/README.md |
lhm-1.0.3 | spec/README.md |
lhm-1.0.2 | spec/README.md |