I have created and connected to an sql server on linux using this tutorial.
I am using golang and this driver. (https://github.com/denisenkom/go-mssqldb)
I am having problems connecting to the database using golang. I have specified a user as SA and a password. I have also written in the terminal "hostname" and got the hostname xxx. When I use that info to connect I get a 500 error.
conn, err := sql.Open("mssql", "server=xxx; id=SA; password=mypass; database=testdb)
Does this seem correct? I am a newbie so maybe I am missing something obvious?