# Using ODBC with KDB+

**URL:** https://forum.kx.com/t/using-odbc-with-kdb/12034
**Category:** Community Support
**Tags:** kdb-and-q
**Created:** [July 10, 2020, 3:23pm UTC](https://forum.kx.com/t/using-odbc-with-kdb/12034 "2020-07-10T15:23:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jchletsos](https://avatars.discourse-cdn.com/v4/letter/j/54ee81/32.png) [@jchletsos](https://forum.kx.com/u/jchletsos)
#### Post date: [July 10, 2020, 3:23pm UTC](https://forum.kx.com/t/using-odbc-with-kdb/12034/1 "2020-07-10T15:23:00Z")

</div>

I am new to KDB+ and trying to create an ODBC connection to the database.&nbsp; What do I use as the Username/Password and port number?&nbsp; Or how can I find out what these default credentials are?  
Really appreciate the help.

Thanks,

Jason

---

<div class="post-metadata">

### Author: ![Joey892](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@Joey892](https://forum.kx.com/u/Joey892)
#### Post date: [July 17, 2020, 11:46am UTC](https://forum.kx.com/t/using-odbc-with-kdb/12034/2 "2020-07-17T11:46:00Z")

</div>

The port, username and password you’re referring to should be the same as would be used to connect via IPC. There is no “default”&nbsp;for these as such, although if you are running for example, vanilla kdb+ tick then there are default ports for the RDB and HDB. Unless you have configured usernames and passwords, those shouldn’t be required.   
Have a look at the following link for more information: [https://code.kx.com/q/kb/odbc/](https://code.kx.com/q/kb/odbc/)

Regards,

Joseph  
  
.
