where is your ms sql in relation to grafana? same host? is sql properly configured?
Does it allow for remote connections?