From 333cfe4008fbbbdbeaa6b0266ce723c24fd8924f Mon Sep 17 00:00:00 2001 From: Jed McCaleb Date: Mon, 12 Dec 2016 00:22:26 -0800 Subject: [PATCH] Update README.md --- services/federation/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/federation/README.md b/services/federation/README.md index 7ea7ec934a..f984aa0727 100644 --- a/services/federation/README.md +++ b/services/federation/README.md @@ -42,7 +42,7 @@ port = 8000 [database] type = "mysql" -url = "root:@/dbname" +url = "dbuser:dbpassword:@/dbname" [queries] federation = "SELECT account_id as id FROM Users WHERE username = ? AND domain = ?" @@ -61,7 +61,7 @@ port = 8000 [database] type = "mysql" -url = "root:@/dbname" +url = "dbuser:dbpassword:@/dbname" [queries] federation = "SELECT username as memo, 'text' as memo_type, 'GD6WU64OEP5C4LRBH6NK3MHYIA2ADN6K6II6EXPNVUR3ERBXT4AN4ACD' as id FROM Users WHERE username = ? AND domain = ?" @@ -105,4 +105,4 @@ After successful completion, you should find `bin/federation` is present in your ``` go test -``` \ No newline at end of file +```