Commit c7f5f507 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Try fix

parent 56772977
Pipeline #25210 passed with stages
in 2 minutes and 42 seconds
......@@ -83,7 +83,6 @@ func main() {
if config.ResolverDBMySQL.Dsn == "" {
resolverDB = memostream.NewResolverDBStatic(config.Signatures)
} else {
resolverDB = memostream.NewResolverDBStatic(config.ResolverDBMySQL.Dsn)
db, err := sql.Open("mysql", config.ResolverDBMySQL.Dsn)
if err != nil {
// don't write dsn in error message due to password inside
......
......@@ -42,7 +42,7 @@ folder = "/data/"
[resolverDBMySQL]
#if dsn is empty, the static resolver will be used
#[username[:password]@][protocol[(address)]]/dbname[?param1=value1&...&paramN=valueN]
#dsn="medienserver@dd-db1.swissbib.unibas.ch:3306/medienserver"
dsn="medienserver_prod:eiPh1och6Ea2uash@tcp(dd-db1.ub.unibas.ch:3306)/medienserver_prod"
# should be smaller than server connection timeout to allow controlled reconnect
connMaxTimeout = "4h"
# query has to return the fields uri, access and protocol. One parameter
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment