From 51efed13e46b98ce70b557ecabba3856af0222b3 Mon Sep 17 00:00:00 2001 From: Ivan Kozlovic Date: Mon, 3 Feb 2020 09:13:08 -0700 Subject: [PATCH] Update sql_store.md Add links to MySQL and Postgres repos for information regarding `-sql_source`. --- nats-streaming-server/configuring/persistence/sql_store.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nats-streaming-server/configuring/persistence/sql_store.md b/nats-streaming-server/configuring/persistence/sql_store.md index 7a0e59a..38136f4 100644 --- a/nats-streaming-server/configuring/persistence/sql_store.md +++ b/nats-streaming-server/configuring/persistence/sql_store.md @@ -2,7 +2,7 @@ Using a SQL Database for persistence is another option. -In order to do so, `-store` simply needs to be set to `sql` and `-sql_driver` set to `mysql` or `postgres` \(the two drivers supported at the moment\). The parameter `-sql_source` is driver specific, but generally contains the information required to connect to a specific database on the given SQL database server. +In order to do so, `-store` simply needs to be set to `sql` and `-sql_driver` set to `mysql` or `postgres` \(the two drivers supported at the moment\). The parameter `-sql_source` is driver specific, but generally contains the information required to connect to a specific database on the given SQL database server. You can find the connect options in the respective driver repositories: [MySQL](https://github.com/go-sql-driver/mysql#dsn-data-source-name) and [Postgres](https://godoc.org/github.com/lib/pq#hdr-Connection_String_Parameters). Note that the NATS Streaming Server does not need root privileges to connect to the database since it does not create the database, tables or indexes. This has to be done by the Database Administrator.