Skip to content

Instantly share code, notes, and snippets.

@edp1096
Last active July 27, 2022 19:56
Show Gist options
  • Save edp1096/8d2ed3afd7491a19cfbb10dc65fa5d11 to your computer and use it in GitHub Desktop.
Save edp1096/8d2ed3afd7491a19cfbb10dc65fa5d11 to your computer and use it in GitHub Desktop.
@rem cd tidb-server
@rem go build -o ../bin
@echo off
set "tidbstorepath=%cd%\store\tidb"
set "tidbstorepath=%tidbstorepath:\=/%"
echo Listening at localhost:4000
.\tidb-server.exe -log-file ./tidb.log -host 127.0.0.1 -P 4000 -path %tidbstorepath% -store unistore -socket ./tidb-4000.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment