# Database connection to Microsoft Access 2013 DB

**URL:** <https://forum.inductiveautomation.com/t/database-connection-to-microsoft-access-2013-db/17967>\
**Category:** Ignition\
**Created:** [May 8, 2018, 11:10pm UTC](https://forum.inductiveautomation.com/t/database-connection-to-microsoft-access-2013-db/17967 "2018-05-08T23:10:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![compuzak](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@compuzak](https://forum.inductiveautomation.com/u/compuzak)\
**Post date:** [May 8, 2018, 11:10pm UTC](https://forum.inductiveautomation.com/t/database-connection-to-microsoft-access-2013-db/17967/1 "2018-05-08T23:10:30Z")

</div>

Is there a way to setup a database connection to a 32-bit Microsoft Access 2013 database? I don’t need to write data to this database, just need to read some data from the database. I have seen some posts that recommend against this, but I can’t change the Microsoft Access DB, it is part of a large system that would take way too long to convert to SQL server.

if so, what settings would I need to use for the connection URL and any other settings I would have to change from the default?

For the connection URL I tried jdbc:odbc://server\_name/dir\_name\_that\_has\_access/databasename.accdb but this faulted.

The other problem I have is there is no username or password on the database, so I just left those fields blank.

---

<div class="post-metadata">

**Author:** ![cesrom](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@cesrom](https://forum.inductiveautomation.com/u/cesrom)\
**Post date:** [May 9, 2018, 5:17am UTC](https://forum.inductiveautomation.com/t/database-connection-to-microsoft-access-2013-db/17967/2 "2018-05-09T05:17:20Z")

</div>

Check the docs [Can I connect using ODBC?](https://docs.inductiveautomation.com/display/DOC79/Database+Connections#DatabaseConnections-CanIconnectusingODBC?)

---

<div class="post-metadata">

**Author:** ![compuzak](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@compuzak](https://forum.inductiveautomation.com/u/compuzak)\
**Post date:** [May 9, 2018, 12:43pm UTC](https://forum.inductiveautomation.com/t/database-connection-to-microsoft-access-2013-db/17967/3 "2018-05-09T12:43:48Z")

</div>

Thanks, I have seen that same message in a number of posts and documents. I really do only need limited access, so I was just trying to get it to work to see if it works for my application.

I certainly prefer to link using a fully functional connection. So what driver do you recommend?

I see an article about using the UCanAccess driver (MS Access database connection with Ignition 7.8) but was afraid to install on our Ignition server. Anyone else have any experience using the UCanAccess open source driver or any other driver for that matter?

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [May 9, 2018, 2:26pm UTC](https://forum.inductiveautomation.com/t/database-connection-to-microsoft-access-2013-db/17967/4 "2018-05-09T14:26:27Z")

</div>

Try installing SQL Server Express and add the MS Access database as a linked server. On the gateway, make a DB Connection to sql express.

---

<div class="post-metadata">

**Author:** ![compuzak](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@compuzak](https://forum.inductiveautomation.com/u/compuzak)\
**Post date:** [May 10, 2018, 4:00am UTC](https://forum.inductiveautomation.com/t/database-connection-to-microsoft-access-2013-db/17967/5 "2018-05-10T04:00:54Z")

</div>

We currently use SQL server 2012 in 80% of our applications (and 100% of all new applications). I will try to link Access to SQL Server. Thanks for input, that is a really good idea.

---

<div class="post-metadata">

**Author:** ![cmisztur2](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmisztur2/32/4243_2.png) [@cmisztur2](https://forum.inductiveautomation.com/u/cmisztur2)\
**Post date:** [May 22, 2018, 2:43am UTC](https://forum.inductiveautomation.com/t/database-connection-to-microsoft-access-2013-db/17967/6 "2018-05-22T02:43:04Z")

</div>

And for performance use OPENQUERY against your ACCDB [https://docs.microsoft.com/en-us/sql/t-sql/functions/openquery-transact-sql?view=sql-server-2017](https://docs.microsoft.com/en-us/sql/t-sql/functions/openquery-transact-sql?view=sql-server-2017)
