Adding grants

This commit is contained in:
Shlomi Noach 2018-02-11 14:21:38 +02:00
parent dbda059e0c
commit 0d8c4262dc

View File

@ -20,9 +20,10 @@ echo 'sandboxes/rsandbox_5_7_21/m "$@"' >> gh-ost-ci-env/bin/gh-ost-test-mysql-m
sed '/sandboxes/d' -i gh-ost-ci-env/bin/gh-ost-test-mysql-replica sed '/sandboxes/d' -i gh-ost-ci-env/bin/gh-ost-test-mysql-replica
echo 'sandboxes/rsandbox_5_7_21/s1 "$@"' >> gh-ost-ci-env/bin/gh-ost-test-mysql-replica echo 'sandboxes/rsandbox_5_7_21/s1 "$@"' >> gh-ost-ci-env/bin/gh-ost-test-mysql-replica
sandboxes/rsandbox_5_7_21/restart_all
export PATH="${PWD}/gh-ost-ci-env/bin/:${PATH}" export PATH="${PWD}/gh-ost-ci-env/bin/:${PATH}"
gh-ost-test-mysql-master -uroot -e "grant all on *.* to 'gh-ost'@'%' identified by 'gh-ost'"
echo "# Running localtests" echo "# Running localtests"
./localtests/test.sh ./localtests/test.sh