Skip to content

Commit 3b794cc

Browse files
committed
Disable SSL verification
1 parent 3b2f290 commit 3b794cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build/scripts/mysql-backup.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env sh
22
set -x
3-
MYSQLDUMP=/usr/bin/mysqldump
3+
MYSQLDUMP=/usr/bin/mariadb-dump
44

55
# Paths for temp files
66
TMP_SCHEMA='/tmp/schema.sql'
@@ -12,6 +12,7 @@ IGNORE_TABLES_FULL_DUMP_CMD=""
1212
if [[ -n "$STRUCTURE_ONLY_TABLES" ]]; then
1313
echo "Dumping schema for structure tables..."
1414
$MYSQLDUMP \
15+
--ssl-mode=DISABLED \
1516
--host="MYSQL_HOSTNAME" \
1617
--port="MYSQL_PORT" \
1718
--user="MYSQL_USER_NAME" \
@@ -32,6 +33,7 @@ fi
3233
# 2. Dump full DB
3334
echo "Dumping full database..."
3435
$MYSQLDUMP \
36+
--ssl-mode=DISABLED \
3537
--host="MYSQL_HOSTNAME" \
3638
--port="MYSQL_PORT" \
3739
--user="MYSQL_USER_NAME" \

0 commit comments

Comments
 (0)