usememos / dotcom

https://www.usememos.com website
https://www.usememos.com
29 stars 51 forks source link

note about the `dsn` #89

Closed azzamsa closed 5 months ago

azzamsa commented 5 months ago

Hi, 👋

I would like to add a note about the dsn. Many had issues with database connections. One of them comes from not escaping the symbols in dsn such as escaping ! or @.

Percent-encoding may be used to include symbols with special meaning in any of the URI parts, e.g., replace = with %3D.

https://www.postgresql.org/docs/11/libpq-connect.html#id-1.7.3.8.3.6

You can use something like https://www.urlencoder.org/.


I would like make a PR for this. Where should I add this info?

Thanks for Memos 🥗

boojack commented 5 months ago

@azzamsa You can modify the following file about description for dsn option. https://github.com/usememos/dotcom/blob/main/content/docs/install/self-hosting.md#parameter-options