# Driver name for creating custom database plugin with db2

**URL:** <https://discuss.hashicorp.com/t/driver-name-for-creating-custom-database-plugin-with-db2/13863>\
**Category:** Vault\
**Created:** [September 7, 2020, 2:05pm UTC](https://discuss.hashicorp.com/t/driver-name-for-creating-custom-database-plugin-with-db2/13863 "2020-09-07T14:05:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewKev12](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/andrewkev12/32/11410_2.png) [@andrewKev12](https://discuss.hashicorp.com/u/andrewKev12)\
**Post date:** [September 7, 2020, 2:05pm UTC](https://discuss.hashicorp.com/t/driver-name-for-creating-custom-database-plugin-with-db2/13863/1 "2020-09-07T14:05:11Z")

</div>

Trying to develop a custom database plugin for db2 database. I am using the postgresql code base and making changes on it.

importing [github.com/ibmdb/go\_ibm\_db](http://github.com/ibmdb/go_ibm_db) in the db.go file

sqltypename is go\_ibm\_db.

Help me know with the driver name and the db configuration for the plugin using db2.

Guide me with the steps to be carried out.

---

<div class="post-metadata">

**Author:** ![pmorch](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/pmorch/32/12128_2.png) [@pmorch](https://discuss.hashicorp.com/u/pmorch)\
**Post date:** [September 27, 2020, 9:16pm UTC](https://discuss.hashicorp.com/t/driver-name-for-creating-custom-database-plugin-with-db2/13863/2 "2020-09-27T21:16:23Z")

</div>

The exact same issue posted here, also by andrewKev12: [custom database plugin with db2 · Issue #9906 · hashicorp/vault](https://github.com/hashicorp/vault/issues/9906)

you write in that issue:

> when trying to configure the plugin using  
> vault write database/config/db2-database plugin\_name=db2-database-plugin connection\_url=“jdbc:db2://:[@localhost](https://github.com/localhost):5342/” username=“” password=“” allowed\_roles=“my-role”

> Obtained error as "Error creating database object:rpc error : code = unknown desc = error verifying connection : SQLDriverConnect {08001}[IBM][CLI Driver] SQL1024N Database connection does not exist. SQLSTATE = 08003

Ok, _exactly_ where is your database running, and _exactly_ what code are you using to try to access it? I’m not going to be able to answer your question, but if you really _do_ want an answer, I suggest you read [How To Ask Questions The Smart Way](http://www.catb.org/~esr/faqs/smart-questions.html)
