File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 66# set -x
77shopt -s expand_aliases
88alias vtctldclient=" vtctldclient --server=localhost:15999"
9- alias mysql=" mysql --skip-ssl-verify-server-cert -h 127.0.0.1 -P 15306 -u user"
109BUILDKITE_JOB_ID=" ${BUILDKITE_JOB_ID:- 0} "
1110
11+ # Suppress warnings when using MariaDB Client
12+ mysql_version=" $( mysql --version 2> /dev/null) "
13+ if [[ " ${mysql_version} " =~ " MariaDB" ]]; then
14+ alias mysql=" mariadb --skip-ssl-verify-server-cert -h 127.0.0.1 -P 15306 -u user"
15+ else
16+ alias mysql=" mysql -h 127.0.0.1 -P 15306 -u user"
17+ fi
18+
1219function checkSemiSyncSetup() {
1320 for vttablet in $( kubectl get pods -n example --no-headers -o custom-columns=" :metadata.name" | grep " vttablet" ) ; do
1421 echo " Checking semi-sync in $vttablet "
You can’t perform that action at this time.
0 commit comments