Skip to content

Commit b1943f7

Browse files
docs: add specific make step to README on the tools/sql path (#3697)
* docs: add specific make step to README on the tools/sql path for creating easily temporal-sql-tool binary Co-authored-by: Mindaugas Rukas <3825716+mindaugasrukas@users.noreply.github.com>
1 parent 1af8a94 commit b1943f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/sql/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ SQL_USER=$USERNAME SQL_PASSWORD=$PASSWD make install-schema-mysql
1010

1111
## For production
1212

13-
### Create the binaries
14-
- Run `make`
13+
### Create the binary
14+
- Run `make temporal-sql-tool` on the root of repositroy
1515
- You should see an executable `temporal-sql-tool`
1616
- Temporal officially support MySQL and Postgres for SQL.
1717
- For other SQL database, you can add it easily as we do for MySQL/Postgres following our code in sql-extensions
@@ -20,8 +20,8 @@ SQL_USER=$USERNAME SQL_PASSWORD=$PASSWD make install-schema-mysql
2020
- All command below are taking MySQL as example. For postgres, simply use with "--plugin postgres"
2121

2222
```
23-
temporal-sql-tool --ep $SQL_HOST -p $port --db temporal --plugin mysql create
24-
temporal-sql-tool --ep $SQL_HOST -p $port --db temporal_visibility --plugin mysql create
23+
./temporal-sql-tool --ep $SQL_HOST -p $port --db temporal --plugin mysql create
24+
./temporal-sql-tool --ep $SQL_HOST -p $port --db temporal_visibility --plugin mysql create
2525
```
2626

2727
```

0 commit comments

Comments
 (0)