Add "tcp()" to the MySQL DSN in the example config

This appears to be necessary for the MySQL driver we're using
This commit is contained in:
Aaron Lindsay 2017-11-16 20:19:25 -05:00
parent e3e381b183
commit a80a46d83f
1 changed files with 1 additions and 1 deletions

View File

@ -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