ubccr / mokey

FreeIPA self-service account management portal
BSD 3-Clause "New" or "Revised" License
192 stars 47 forks source link

Remote mysql configuration #36

Closed wkihara closed 5 years ago

wkihara commented 5 years ago

Hello,

How would one need to add on this line so that mokey can use mysql database on a remote system?

dsn: "user:pass@/dbname?parseTime=true"

William

aebruno commented 5 years ago

Something like this should work:

dsn: "user:pass@tcp(127.0.0.1:3306)/dbname?parseTime=true"