Skip to content

Commit

Permalink
Update docs to handle special characters (#60)
Browse files Browse the repository at this point in the history
Co-authored-by: hudsmat <[email protected]>
  • Loading branch information
hudsonmd and hudsmat authored Jun 23, 2024
1 parent 517d62c commit 773c5bc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,15 @@ Examples of valid connection strings:
* `sqlserver://user:password@localhost:1433?database=yourDb`
* `sqlite3://mermerd_test.db`

#### Special Characters
Passwords with special characters may run into the "net/url: invalid userinfo" error. This can be worked around by percent encoding the characters

| Invalid | Valid |
|-----|----------------------------------------|
|postgresql://user:password$@localhost:5432/yourDb|postgresql://user:password%24@localhost:5432/yourDb
|postgresql://user:pass[];$/word@localhost:5432/yourDb|postgresql://user:pass%5B%5D%3B%24%2Fword@localhost:5432/yourDb


## How can I write/update Mermaid-JS diagrams?

* All information can be found here: [Mermaid-JS](https://mermaid-js.github.io/mermaid/#/entityRelationshipDiagram)
Expand Down

0 comments on commit 773c5bc

Please sign in to comment.