Skip to content

Commit f436506

Browse files
authored
fix: use the correct source host in start_replication.sh
1 parent d129209 commit f436506

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

devtools/replica-setup-mysql/start_replication.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fi
2020

2121
# Connect to MySQL and execute the replication configuration commands
2222
REPLICATION_CMD="CHANGE REPLICATION SOURCE TO \
23-
SOURCE_HOST='${SOURCE_HOST_FOR_REPLICA}', \
23+
SOURCE_HOST='${SOURCE_HOST}', \
2424
SOURCE_PORT=${SOURCE_PORT}, \
2525
SOURCE_USER='${SOURCE_USER}', \
2626
SOURCE_PASSWORD='${SOURCE_PASSWORD}'"
@@ -42,4 +42,4 @@ if [ $? -ne 0 ]; then
4242
exit 1
4343
else
4444
echo "Replication established successfully."
45-
fi
45+
fi

0 commit comments

Comments
 (0)