Last updated:|... min read
title: "Local Discover MySQL Command - OLake CLI" description: "Run OLake discover command locally for MySQL to identify available tables, columns, and supported sync modes for replication."β
- macOS / Linux
- CMD
- Powershell
OLAKE_BASE_PATH="$HOME/PATH_TO_OLAKE_DIRECTORY/olake/drivers/mysql/config" && \
./build.sh driver-mysql discover \
--config "$OLAKE_BASE_PATH/source.json"
set "OLAKE_BASE_PATH=%USERPROFILE%\PATH_TO_OLAKE_DIRECTORY\olake\drivers\mysql\config" && ^
./build.sh driver-mysql discover ^
--config "%OLAKE_BASE_PATH%\source.json"
$OLAKE_BASE_PATH = "$env:USERPROFILE\PATH_TO_OLAKE_DIRECTORY\olake\drivers\mysql\config"; `
./build.sh driver-mysql discover `
--config "$OLAKE_BASE_PATH\source.json"