# SQL Server connection

**URL:** <https://community.dremio.com/t/sql-server-connection/70>\
**Category:** Uncategorized\
**Created:** [July 20, 2017, 7:39am UTC](https://community.dremio.com/t/sql-server-connection/70 "2017-07-20T07:39:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaulZH](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@PaulZH](https://community.dremio.com/u/PaulZH)\
**Post date:** [July 20, 2017, 7:39am UTC](https://community.dremio.com/t/sql-server-connection/70/1 "2017-07-20T07:39:31Z")

</div>

I’m lacking a field to indicate the database, since I don’t have rights at the highest level.

 ![](https://us1.discourse-cdn.com/flex020/uploads/dremio/original/1X/60d7497d3ef19a058190786e45835582dde19527.png)

\<- No field for the database to connect to.

---

<div class="post-metadata">

**Author:** ![jduong](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/jduong/32/21_2.png) [@jduong](https://community.dremio.com/u/jduong)\
**Post date:** [July 20, 2017, 4:26pm UTC](https://community.dremio.com/t/sql-server-connection/70/2 "2017-07-20T16:26:12Z")

</div>

Hi Paul,

Have you tried running through the connection process with this user? You should get connected with the SQL Server user’s default database since one hasn’t been specified.

---

<div class="post-metadata">

**Author:** ![PaulZH](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@PaulZH](https://community.dremio.com/u/PaulZH)\
**Post date:** [July 20, 2017, 6:34pm UTC](https://community.dremio.com/t/sql-server-connection/70/3 "2017-07-20T18:34:23Z")

</div>

Sorry, the screenshot has not been very helpful.

Outside dremio, I can only connect to the SQL server if indicating a database. If I do that not I get "The specified user/password combination is rejected: [S0001][916] The server principal “oslo2” is not able to access the database “master” under the current security context. ClientConnectionId:…

However I do not see in the dremio interface how to add the database I want to connect to.  
With no database indicated, I do not seem to get connected; -\> source in ‘red’ state.

---

<div class="post-metadata">

**Author:** ![joshw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/joshw/32/27_2.png) [@joshw](https://community.dremio.com/u/joshw)\
**Post date:** [July 20, 2017, 10:19pm UTC](https://community.dremio.com/t/sql-server-connection/70/4 "2017-07-20T22:19:48Z")

</div>

Hi Paul.

Thanks for clarifying the issue. Currently, this functionality will require adding a section to the data source connection setup to allow for additional connection properties to be input. We are adding an internal ticket to have this implemented.

Thanks for bringing this to our attention.

---

<div class="post-metadata">

**Author:** ![Tim\_Suh](https://avatars.discourse-cdn.com/v4/letter/t/49beb7/32.png) [@Tim\_Suh](https://community.dremio.com/u/Tim_Suh)\
**Post date:** [August 2, 2017, 4:15pm UTC](https://community.dremio.com/t/sql-server-connection/70/5 "2017-08-02T16:15:05Z")

</div>

I would also like to see this feature implemented since connecting to Azure SQL Server requires specifying a default database. Is there a way to track your internal tickets? (using Jira for example) Any workarounds?
