mirror of
https://github.com/aclindsa/moneygo.git
synced 2024-12-26 07:33:21 -05:00
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:
parent
e3e381b183
commit
a80a46d83f
@ -19,7 +19,7 @@ db-type = sqlite3
|
|||||||
#
|
#
|
||||||
# Sqlite example DSN: "file:moneygo.sqlite?cache=shared&mode=rwc"
|
# Sqlite example DSN: "file:moneygo.sqlite?cache=shared&mode=rwc"
|
||||||
# MySQL documentation: https://github.com/go-sql-driver/mysql/#dsn-data-source-name
|
# 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
|
# (Note: MySQL DSN's *must* include the
|
||||||
# "parseTime=true" parameter)
|
# "parseTime=true" parameter)
|
||||||
# Postgres documentation: https://godoc.org/github.com/lib/pq
|
# Postgres documentation: https://godoc.org/github.com/lib/pq
|
||||||
|
Loading…
Reference in New Issue
Block a user