diff --git a/examples/compose/vttablet-up.sh b/examples/compose/vttablet-up.sh index 91a3c1870e..efdb0f4d49 100755 --- a/examples/compose/vttablet-up.sh +++ b/examples/compose/vttablet-up.sh @@ -36,6 +36,13 @@ if [ -d $VTDATAROOT/$tablet_dir ]; then action='start' fi +export KEYSPACE=$keyspace +export SHARD=$shard +export TABLET_ID=$alias +export TABLET_DIR=$tablet_dir +export MYSQL_PORT=3306 +export TABLET_TYPE=$tablet_role + $VTROOT/bin/mysqlctl \ -log_dir $VTDATAROOT/tmp \ -tablet_uid $uid \