From a80a46d83f8158d891a12fcd50cd989ac7db2a6e Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Thu, 16 Nov 2017 20:19:25 -0500 Subject: [PATCH] Add "tcp()" to the MySQL DSN in the example config This appears to be necessary for the MySQL driver we're using --- example_config.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example_config.ini b/example_config.ini index a8ec85e..861fdea 100644 --- a/example_config.ini +++ b/example_config.ini @@ -19,7 +19,7 @@ db-type = sqlite3 # # Sqlite example DSN: "file:moneygo.sqlite?cache=shared&mode=rwc" # MySQL documentation: https://github.com/go-sql-driver/mysql/#dsn-data-source-name -# example DSN: "user:password@localhost/dbname&parseTime=true" +# example DSN: "user:password@tcp(localhost)/dbname&parseTime=true" # (Note: MySQL DSN's *must* include the # "parseTime=true" parameter) # Postgres documentation: https://godoc.org/github.com/lib/pq