Skip to content

Commit 750e392

Browse files
to #119 docs: update README.md
1 parent f651b66 commit 750e392

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,13 @@ docker run \
119119
--detach=true \
120120
apecloud/myduckserver:latest
121121
```
122+
`SOURCE_DSN` specifies the connection string to the primary database server, which can be either MySQL or PostgreSQL.
122123

123-
`SOURCE_DSN` is the connection string of the primary (MySQL|Postgres) server.
124-
Use the mysql URI scheme to connect to a MySQL primary and use the postgres URI scheme to connect to a Postgres primary.
125-
For example,
126-
`--env=SOURCE_DSN=mysql://root:[email protected]:3306` or `--env=SOURCE_DSN=postgres://postgres:[email protected]:5432.`
124+
- **MySQL Primary:** Use the MySQL URI scheme, e.g.,
125+
`--env=SOURCE_DSN=mysql://root:[email protected]:3306`
126+
127+
- **PostgreSQL Primary:** Use the PostgreSQL URI scheme, e.g.,
128+
`--env=SOURCE_DSN=postgres://postgres:[email protected]:5432`
127129

128130
### Connecting to Cloud MySQL & Postgres
129131

0 commit comments

Comments
 (0)