# How to connect NpgsqlDatabaseInfo for crate database in C#

**URL:** <https://community.cratedb.com/t/how-to-connect-npgsqldatabaseinfo-for-crate-database-in-c/698>\
**Category:** CrateDB\
**Created:** [June 3, 2021, 6:53am UTC](https://community.cratedb.com/t/how-to-connect-npgsqldatabaseinfo-for-crate-database-in-c/698 "2021-06-03T06:53:07Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![testjob\_tyu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/testjob_tyu/32/327_2.png) [@testjob\_tyu](https://community.cratedb.com/u/testjob_tyu)\
**Post date:** [June 3, 2021, 7:27am UTC](https://community.cratedb.com/t/how-to-connect-npgsqldatabaseinfo-for-crate-database-in-c/698/3 "2021-06-03T07:27:05Z")

</div>

Thank you for the response . I am using crate:4.5.0 docker image. Without specificy DataFactory got an error of Read  
mismatched input ‘READ’  
That mentioned in this post [https://community.cratedb.com/t/sqlparseexception-when-opening-cratedb-connection-in-c/436](https://community.cratedb.com/t/sqlparseexception-when-opening-cratedb-connection-in-c/436)  
Is there any reference document ?

---

_[View the full topic](https://community.cratedb.com/t/how-to-connect-npgsqldatabaseinfo-for-crate-database-in-c/698)._
