Skip to content

Commit

Permalink
fix: use the correct source host in start_replication.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fanyang01 authored Dec 5, 2024
1 parent d129209 commit f436506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devtools/replica-setup-mysql/start_replication.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi

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

0 comments on commit f436506

Please sign in to comment.