Skip to content

Commit 9bb99ce

Browse files
committed
New translations advanced_deployment.md (Chinese Simplified)
1 parent 3f1e8a1 commit 9bb99ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/translated_docs/zh-CN/advanced_deployment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ Create a DB instance by using the `cql` command and using the `create` parameter
8585
e.g.: creating a single-node database instance
8686

8787
```bash
88-
docker exec -it covenantsql_adapter /app/cql create -config /app/config.yaml -no-password '{"node":1}'
88+
docker exec -it covenantsql_adapter /app/cql create -config /app/config.yaml -db-node 1
8989
```
9090

9191
> Modify the value of the `create` parameter to create an instance running on multiple nodes
9292
> e.g.: create an instance of two nodes
9393
9494
```bash
95-
docker exec -it covenantsql_adapter /app/cql create -config /app/config.yaml -no-password '{"node":1}'
95+
docker exec -it covenantsql_adapter /app/cql create -config /app/config.yaml -db-node 2
9696
```
9797

9898
The command will return the connection string of the created database instance
@@ -105,7 +105,7 @@ The command will return the connection string of the created database instance
105105
Use the `cql` command and use the `dsn` parameter to provide a connection string for the database instance access:
106106

107107
```bash
108-
docker exec -it covenantsql_adapter /app/cql console -config /app/config.yaml -no-password -dsn covenantsql://0a255f136520a2bc6a29055a619ec4f72c2c80fa600daf73b1caa375946ea0e4
108+
docker exec -it covenantsql_adapter /app/cql console -config /app/config.yaml covenantsql://0a255f136520a2bc6a29055a619ec4f72c2c80fa600daf73b1caa375946ea0e4
109109
```
110110

111111
After that, it will get the following output, and enter the `cql` interactive command line mode

0 commit comments

Comments
 (0)